|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cut
A Cut either accepts or rejects an CutData data set
Nested Class Summary | |
---|---|
static class |
Cut.CutGUIListener
Internal class that implements the behavior of CutListener. |
Field Summary | |
---|---|
static int |
CUT_DISABLED
|
static int |
CUT_DISABLED_INVERTED
|
static int |
CUT_ENABLED
The Cut can be in any of the following three states: enabled, disabled or iverted. |
static int |
CUT_INVERTED
|
Method Summary | |
---|---|
boolean |
accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
Apply the cut to the CutDataSet. |
void |
addCutListener(CutListener cutListener)
Add a CutListener to the Cut |
CutDataSet |
getCutDataSet()
Get the CutDataSet on which the cut is applied |
CutListener |
getCutGUIListener()
Get the CutGUIListener that listens to the GUI representations of the Cut. |
EventListenerList |
getCutListeners()
Get the list of CutListeners listening to this Cut |
String |
getName()
Get the name of the Cut |
int |
getState()
Get the state of the Cut. |
void |
invert()
Invert the cut. |
boolean |
isEnabled()
Check if the Cut is enabled |
boolean |
isInverted()
Check if the Cut is inverted |
void |
removeCutListener(CutListener cutListener)
Remove a CutListener from the Cut |
void |
setCutDataSet(CutDataSet cutDataSet)
Set the CutDataSet on which the cut is applied |
void |
setDisabled(boolean isDisabled)
Disable the cut. |
void |
setName(String cutName)
Set the name of the Cut |
void |
setState(int cutState)
Set the state of the Cut. |
Field Detail |
---|
static final int CUT_ENABLED
static final int CUT_INVERTED
static final int CUT_DISABLED
static final int CUT_DISABLED_INVERTED
Method Detail |
---|
String getName()
void setName(String cutName)
cutName
- the name of the Cutvoid invert()
void setDisabled(boolean isDisabled)
int getState()
void setState(int cutState)
cutState
- the state of the Cutboolean isEnabled()
true<\code> if the cut is enabled
false<\code> otherwise
boolean isInverted()
true<\code> if the cut is inverted
false<\code> otherwise
CutDataSet getCutDataSet()
void setCutDataSet(CutDataSet cutDataSet)
cutDataSet
- the CutDataSet.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
void addCutListener(CutListener cutListener)
cutListener
- the CutListener to addvoid removeCutListener(CutListener cutListener)
cutListener
- the CutListenere to removeEventListenerList getCutListeners()
CutListener getCutGUIListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |