|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.jas.extension.tupleExplorer.cut.AbstractCut
org.freehep.jas.extension.tupleExplorer.cut.AbstractCutWithVariables
org.freehep.jas.extension.tupleExplorer.cut.Numeric1DCut
public class Numeric1DCut
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut |
---|
Cut.CutGUIListener |
Field Summary | |
---|---|
static int |
NUMERIC1DCUT_EXCLUSIVE
|
static int |
NUMERIC1DCUT_GREATER_THAN
The four kind of Numeric1DCut. |
static int |
NUMERIC1DCUT_INCLUSIVE
|
static int |
NUMERIC1DCUT_LESS_THAN
|
Fields inherited from class org.freehep.jas.extension.tupleExplorer.cut.AbstractCut |
---|
cutListeners |
Fields inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut |
---|
CUT_DISABLED, CUT_DISABLED_INVERTED, CUT_ENABLED, CUT_INVERTED |
Constructor Summary | |
---|---|
Numeric1DCut(String cutName)
Create a new Numeric1DCut object |
|
Numeric1DCut(String cutName,
CutDataSet cutDataSet,
int cutType)
Create a new Numeric1DCut object |
|
Numeric1DCut(String cutName,
CutDataSet cutDataSet,
int cutType,
Numeric1DCutVariable numeric1DCutVariable)
Create a new Numeric1DCut object |
|
Numeric1DCut(String cutName,
CutDataSet cutDataSet,
int cutType,
Numeric1DCutVariable minNumeric1DCutVariable,
Numeric1DCutVariable maxNumeric1DCutVariable)
Create a new Numeric1DCut object |
Method Summary | |
---|---|
boolean |
accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
Apply the cut to the current value of CutDataSet |
int |
getCutType()
Get the type of the Numeric1DCut |
protected CutVariableSynchronization |
getCutVariableSynchronization()
|
protected int |
getOriginalCutType()
|
protected boolean |
isSynchronized()
|
protected void |
resetSynchronization()
|
void |
setCutType(int cutType)
Set the type of the Numeric1DCut |
protected void |
setCutVariableSynchronization(CutVariableSynchronization cutVarSync)
|
protected void |
setOriginalCutType(int origCutType)
|
void |
setState(int cutState)
Set the state of the Numeric1DCut. |
protected void |
synchronizeSliders()
|
Methods inherited from class org.freehep.jas.extension.tupleExplorer.cut.AbstractCutWithVariables |
---|
addCutVariable, cutVarRangeChanged, cutVarStateChanged, cutVarValueChanged, getCutVariable, getCutVariables, getNCutVariables, removeCutVariable |
Methods inherited from class org.freehep.jas.extension.tupleExplorer.cut.AbstractCut |
---|
addCutListener, fireCutChanged, getCutDataSet, getCutGUIListener, getCutListeners, getName, getState, invert, isEnabled, isInverted, removeCutListener, setCutDataSet, setDisabled, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut |
---|
addCutListener, getCutDataSet, getCutGUIListener, getCutListeners, getName, getState, invert, isEnabled, isInverted, removeCutListener, setCutDataSet, setDisabled, setName |
Field Detail |
---|
public static final int NUMERIC1DCUT_GREATER_THAN
public static final int NUMERIC1DCUT_LESS_THAN
public static final int NUMERIC1DCUT_INCLUSIVE
public static final int NUMERIC1DCUT_EXCLUSIVE
Constructor Detail |
---|
public Numeric1DCut(String cutName)
cutName
- the name of the cutpublic Numeric1DCut(String cutName, CutDataSet cutDataSet, int cutType)
cutName
- the name of the cutcutDataSet
- the CutDataSet on which the cut is appliedcutType
- the type of cutpublic Numeric1DCut(String cutName, CutDataSet cutDataSet, int cutType, Numeric1DCutVariable numeric1DCutVariable)
cutName
- the name of the cutcutDataSet
- the CutDataSet on which the cut is appliedcutType
- the type of cutnumeric1DCutVariable
- the Numeric1DCutVariable for this Numeric1DCutpublic Numeric1DCut(String cutName, CutDataSet cutDataSet, int cutType, Numeric1DCutVariable minNumeric1DCutVariable, Numeric1DCutVariable maxNumeric1DCutVariable)
cutName
- the name of the cutcutDataSet
- the CutDataSet on which the cut is appliedcutType
- the type of cutminNumeric1DCutVariable
- the lower Numeric1DCutVariable for this Numeric1DCutmaxNumeric1DCutVariable
- the upper Numeric1DCutVariable for this Numeric1DCutMethod Detail |
---|
public boolean accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
cutDataCursor
- the CutDataCursor to access the CutDataSet current value
true<\code> if the current value of the CutDataSet is accepted by the cut
false<\code> otherwise
public int getCutType()
public void setCutType(int cutType)
cutType
- the cut typeprotected int getOriginalCutType()
protected void setOriginalCutType(int origCutType)
public void setState(int cutState)
setState
in interface Cut
setState
in class AbstractCut
cutState
- the state of the Numeric1DCutprotected void resetSynchronization()
protected void synchronizeSliders()
protected boolean isSynchronized()
protected CutVariableSynchronization getCutVariableSynchronization()
protected void setCutVariableSynchronization(CutVariableSynchronization cutVarSync)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |