Constructor and Description |
---|
RootHistogramTreeModel(hep.io.root.interfaces.TDirectory topDir)
Create the tree mode.
|
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(TreeModelListener p1) |
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isLeaf(Object parent) |
void |
removeTreeModelListener(TreeModelListener p1) |
void |
valueForPathChanged(TreePath p1,
Object p2) |
public RootHistogramTreeModel(hep.io.root.interfaces.TDirectory topDir)
topDir
- TDirectory is to appear as the "root" of the treepublic int getChildCount(Object parent)
getChildCount
in interface TreeModel
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
public void removeTreeModelListener(TreeModelListener p1)
removeTreeModelListener
in interface TreeModel
public void valueForPathChanged(TreePath p1, Object p2)
valueForPathChanged
in interface TreeModel
public void addTreeModelListener(TreeModelListener p1)
addTreeModelListener
in interface TreeModel
Jas4pp 1.5 © Java Analysis Studio for Particle Physics