|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfuego.papi.utils.TreeView
public class TreeView
Nested Class Summary | |
---|---|
class |
TreeView.NodeView
|
static interface |
TreeView.ViewComparator
|
static interface |
TreeView.ViewFilter
|
Constructor Summary | |
---|---|
TreeView(ProcessServiceSession processServiceSession)
Creates a new TreeNode |
|
TreeView(ProcessServiceSession processServiceSession,
TreeView.ViewComparator comparator)
Creates a new TreeNode |
|
TreeView(ProcessServiceSession processServiceSession,
TreeView.ViewComparator comparator,
TreeView.ViewFilter viewFilter)
Creates a new TreeNode |
Method Summary | |
---|---|
void |
collapse()
Collapses the tree, showing only the root nodes. |
void |
expand()
Expands the tree, setting visible the root nodes. |
void |
expandAll()
Expands the tree, setting visible all nodes. |
SortedSet<TreeView.NodeView> |
getRoot()
Returns a list of NodeView with all nodes which do not have parent. |
TreeView.ViewComparator |
getViewComparator()
Returns the coparator used by the tree to sort the views |
void |
reload(ProcessServiceSession processServiceSession)
Regenerates the tree, reloading the views from the user session. |
void |
setViewComparator(TreeView.ViewComparator viewComparator)
Sets the tree comparator to sort the views |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeView(ProcessServiceSession processServiceSession)
processServiceSession
- The user session to obtain views.public TreeView(ProcessServiceSession processServiceSession, TreeView.ViewComparator comparator)
processServiceSession
- The user session to obtain views.comparator
- The comparator to sort the viewspublic TreeView(ProcessServiceSession processServiceSession, TreeView.ViewComparator comparator, TreeView.ViewFilter viewFilter)
processServiceSession
- The user session to obtain views.comparator
- The comparator to sort the viewsviewFilter
- The view filter to check the views to acceptMethod Detail |
---|
public void setViewComparator(TreeView.ViewComparator viewComparator)
viewComparator
- The comparator to sort the viewspublic TreeView.ViewComparator getViewComparator()
public SortedSet<TreeView.NodeView> getRoot()
List
of TreeView.NodeView
.public void collapse()
public void expand()
public void expandAll()
public void reload(ProcessServiceSession processServiceSession)
processServiceSession
- The user session to reload the tree.
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |