com.filenet.wcm.apps.server.ui.tree
Class ClientSideTree.Item
- java.lang.Object
com.filenet.wcm.apps.server.ui.tree.ClientSideTree.Item
All implemented interfaces:
java.lang.Comparable
Direct known subclasses:
ClientSideChoiceTree.ChoiceItem, ClientSideCompoundDocumentTree.ComponentRelationshipItem, ClientSideSelectionTree.FnItem
Enclosing class:
- public static class ClientSideTree.Item
- extends java.lang.Object
- implements java.lang.Comparable
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
childItems
|
|
collapsed
|
|
expandable
|
|
id
|
|
img
|
|
label
|
|
name
|
|
page
|
|
selectable
|
Constructor Summary
| Constructor and Description |
|---|
ClientSideTree.Item()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
clearChildren()
|
|
compareTo(java.lang.Object o)
|
findItemByPath(java.lang.String path)
Finds Item by path.
|
|
|
getChildItems()
|
|
getItemPath(java.lang.String path)
Finds Item by path.
|
|
hasChildren()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
page
- public int page
collapsed
- public boolean collapsed
expandable
- public boolean expandable
selectable
- public boolean selectable
id
- public java.lang.String id
name
- public java.lang.String name
label
- public java.lang.String label
img
- public java.lang.String img
childItems
- public org.apache.commons.collections.map.ListOrderedMap childItems
Constructor Detail
ClientSideTree.Item
- public ClientSideTree.Item()
Method Detail
hasChildren
- public boolean hasChildren()
getChildItems
- public org.apache.commons.collections.map.ListOrderedMap getChildItems( )
findItemByPath
- public ClientSideTree.Item findItemByPath( java.lang.String path)
Finds Item by path. Path should be in this format: child1/child2/child3. child1-3 are IDs of individual
Item object. This method is prefered to findItemById() because the performance depends only on the length
of the path and not on the size of the tree.
Parameters:
path - Returns:
Item object
getItemPath
- public java.util.List getItemPath( java.lang.String path)
Finds Item by path. Path should be in this format: child1/child2/child3. child1-3 are IDs of individual
Item object. This method is prefered to findItemById() because the performance depends only on the length
of the path and not on the size of the tree.
Parameters:
path - Returns:
Item object
clearChildren
- public void clearChildren()
compareTo
- public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable