|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ListItem | |
---|---|
com.jivesoftware.forum.renderer.filter.wiki.list |
Uses of ListItem in com.jivesoftware.forum.renderer.filter.wiki.list |
---|
Subclasses of ListItem in com.jivesoftware.forum.renderer.filter.wiki.list | |
---|---|
class |
RootListItem
Dummy root item for wiki tree structure. |
Fields in com.jivesoftware.forum.renderer.filter.wiki.list declared as ListItem | |
---|---|
protected ListItem[] |
WikiList.keys
|
protected ListItem |
WikiList.rootItem
|
Methods in com.jivesoftware.forum.renderer.filter.wiki.list that return ListItem | |
---|---|
ListItem |
WikiList.getChild(ListItem parent,
int index)
Returns a child of parent at index index . |
ListItem[] |
WikiList.getChildren(ListItem parent)
Returns an array of the children of the parent, or an empty array if there are no children or the parent is not in the tree. |
ListItem |
WikiList.getParent(ListItem child)
Returns a parent of child , or null if there is no parent. |
ListItem[] |
WikiList.getRecursiveChildren(ListItem parent)
Returns the list items in the in the tree in depth-first order. |
ListItem[] |
WikiList.getRecursiveKeys()
Returns the list items in the in the tree in depth-first order. |
ListItem |
WikiList.getRootItem()
Returns the dummy root item that is used to create the tree (since the tree is required to have a single root node). |
ListItem[] |
WikiList.keys()
Returns the list items in the tree. |
Methods in com.jivesoftware.forum.renderer.filter.wiki.list with parameters of type ListItem | |
---|---|
void |
WikiList.addChild(ListItem parent,
ListItem newChild)
Adds a child list item to the tree. |
protected int |
WikiList.fillDepthKeys(char startIndex,
ListItem[] depthKeys,
int cursor)
Recursive method that fills the depthKeys array with all the child keys in the tree in depth first order. |
protected char |
WikiList.findDepth(ListItem item,
char startIndex,
int[] depth)
Identical to the findKey method, but it also keeps track of the depth. |
protected char |
WikiList.findKey(ListItem item,
char startIndex)
Returns the index of the specified value, or 0 if the item could not be found. |
ListItem |
WikiList.getChild(ListItem parent,
int index)
Returns a child of parent at index index . |
int |
WikiList.getChildCount(ListItem parent)
Returns the number of children of parent . |
ListItem[] |
WikiList.getChildren(ListItem parent)
Returns an array of the children of the parent, or an empty array if there are no children or the parent is not in the tree. |
int |
WikiList.getDepth(ListItem item)
Returns the depth in the tree that the element can be found at or -1 if the element is not in the tree. |
int |
WikiList.getIndexOfChild(ListItem parent,
ListItem child)
Returns the index of child in parent or
-1 if child is not a child of parent . |
ListItem |
WikiList.getParent(ListItem child)
Returns a parent of child , or null if there is no parent. |
ListItem[] |
WikiList.getRecursiveChildren(ListItem parent)
Returns the list items in the in the tree in depth-first order. |
boolean |
WikiList.isLeaf(ListItem item)
Returns true if the tree node is a leaf. |
|
Jive Forums Project Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |