public class WorkflowOutlineTreeActorFireModel extends ClassAndEntityTreeModel
EntityTreeModel.TreeUpdateListener| Modifier and Type | Field and Description |
|---|---|
boolean |
includeFires |
_root| Constructor and Description |
|---|
WorkflowOutlineTreeActorFireModel(CompositeEntity root) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getChild(java.lang.Object parent,
int index)
Get the child of the given parent at the given index.
|
int |
getChildCount(java.lang.Object parent)
Return the number of children of the given parent, which in
this base class is the number of contained entities.
|
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
Return the index of the given child within the given parent.
|
boolean |
isLeaf(java.lang.Object object)
Return true if the object is a leaf node.
|
void |
setRoot(NamedObj root)
Set the object that this tree model looks at.
|
_classesaddTreeModelListener, getRoot, removeTreeModelListener, valueForPathChangedpublic boolean includeFires
public WorkflowOutlineTreeActorFireModel(CompositeEntity root)
public java.lang.Object getChild(java.lang.Object parent, int index)
getChild in interface javax.swing.tree.TreeModelgetChild in class ClassAndEntityTreeModelparent - A node in the tree.index - The index of the desired child.public int getChildCount(java.lang.Object parent)
getChildCount in interface javax.swing.tree.TreeModelgetChildCount in class ClassAndEntityTreeModelparent - A parent node.public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild in interface javax.swing.tree.TreeModelgetIndexOfChild in class ClassAndEntityTreeModelparent - The parent, which is usually a CompositeEntity.child - The child.public boolean isLeaf(java.lang.Object object)
isLeaf in interface javax.swing.tree.TreeModelisLeaf in class ClassAndEntityTreeModelobject - The object in question.public void setRoot(NamedObj root)
setRoot in class EntityTreeModelroot - The root NamedObjEntityTreeModel.getRoot()