org.freehep.jas.extension.tupleExplorer.mutableTuple
Class MutableTupleTreeCutSet

java.lang.Object
  extended by org.freehep.jas.extension.tupleExplorer.cut.AbstractCut
      extended by org.freehep.jas.extension.tupleExplorer.cut.CutSet
          extended by org.freehep.jas.extension.tupleExplorer.mutableTuple.MutableTupleTreeCutSet
All Implemented Interfaces:
Cut

public class MutableTupleTreeCutSet
extends CutSet

Author:
The FreeHEP team @ SLAC.

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
MutableTupleTreeCutSet(String name)
           
 
Method Summary
 boolean accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
          Apply the cut to the CutData.
 boolean accept(MutableTupleTreeNavigator cursor, org.freehep.jas.plugin.tree.FTreePath path)
           
 
Methods inherited from class org.freehep.jas.extension.tupleExplorer.cut.CutSet
addCut, addListDataListener, getCut, getCutState, getNCuts, removeCut, removeListDataListener, setCutState
 
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

MutableTupleTreeCutSet

public MutableTupleTreeCutSet(String name)
Method Detail

accept

public boolean accept(hep.aida.ref.tuple.FTupleCursor cutDataCursor)
Description copied from class: CutSet
Apply the cut to the CutData.

Specified by:
accept in interface Cut
Overrides:
accept in class CutSet
Parameters:
cutDataCursor - the CutDataCursor to access the CutDataSet current value
Returns:
true<\code> if the current value of the CutDataSet is accepted by the cut false<\code> otherwise

accept

public boolean accept(MutableTupleTreeNavigator cursor,
                      org.freehep.jas.plugin.tree.FTreePath path)
Parameters:
cursor - The MutableTupleTreeNavigator with the current position on the tree.
path - The path to which the cut should be applied.


Copyright © 2013. All Rights Reserved.