|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.camunda.commons.swing.ObservedTreeModel
com.camunda.toolkit.jbpm.swing.admin.ProcessInstanceTreeModel
public class ProcessInstanceTreeModel
TreeModel for displaying a ProcessInstance, with all Tokens and TaskInstances sub-processes are NOT included in the tree at the moment, but that would be a nice feature for the future
| Field Summary |
|---|
| Fields inherited from class com.camunda.commons.swing.ObservedTreeModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
ProcessInstanceTreeModel(ProcessModel pm)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getChild(java.lang.Object parent,
int index)
Returns the child of parent at index index in the parent's child array. |
int |
getChildCount(java.lang.Object parent)
Returns the number of children of parent. |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
Returns the index of child in parent. |
java.lang.Object |
getRoot()
Returns the root of the tree. |
boolean |
isLeaf(java.lang.Object node)
Returns true if node is a leaf. |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
Messaged when the user has altered the value for the item identified by path to newValue. |
| Methods inherited from class com.camunda.commons.swing.ObservedTreeModel |
|---|
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getListeners, getTreeModelListeners, removeTreeModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessInstanceTreeModel(ProcessModel pm)
| Method Detail |
|---|
public java.lang.Object getChild(java.lang.Object parent,
int index)
public int getChildCount(java.lang.Object parent)
public int getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
public java.lang.Object getRoot()
public boolean isLeaf(java.lang.Object node)
public void valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||