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:
- ClientSideTree
- public static class ClientSideTree.Item
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ClientSideTree.Item
public ClientSideTree.Item()
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
© Copyright IBM Corp. 2002, 2007. All Rights Reserved.