|
||||||||||
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.CutSet
public class CutSet
Field Summary |
---|
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 | |
---|---|
CutSet(String name)
Creates a new CutSet |
Method Summary | |
---|---|
boolean |
accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
Apply the cut to the CutData. |
void |
addCut(Cut cut)
Add a new cut to this CutSet |
void |
addListDataListener(ListDataListener listDataListener)
Add a ListDataListener |
Cut |
getCut(int index)
Get the i-th cut belonging to the CutSet |
int |
getCutState(Cut cut)
Get the state of one of the cuts belonging to the CutSet |
int |
getNCuts()
Get the number of cuts belonging to the CutSet |
void |
removeCut(Cut cut)
Remove a cut from this CutSet |
void |
removeListDataListener(ListDataListener listDataListener)
Remove a ListDataListener |
void |
setCutState(Cut cut,
int state)
Change the state of one of the cuts belonging to the CutSet |
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, setState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CutSet(String name)
name
- the name of the CutSetMethod 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 void addCut(Cut cut)
cut
- the cut to addpublic void removeCut(Cut cut)
cut
- the cut to be removedpublic void setCutState(Cut cut, int state)
cut
- the cut whose state has to be changedstate
- the new cut statepublic int getCutState(Cut cut)
cut
- the cut whose state is returned
public int getNCuts()
public Cut getCut(int index)
index
- the cut's index in the CutSet
public void addListDataListener(ListDataListener listDataListener)
listDataListener
- the ListDataListener to addpublic void removeListDataListener(ListDataListener listDataListener)
listDataListener
- the ListDataListener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |