|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasFastTreeItems
A widget that implements this interface contains FastTreeItem
children and can add and remove them.
Method Summary | |
---|---|
void |
addItem(FastTreeItem item)
Adds another item as a child to this one. |
FastTreeItem |
addItem(java.lang.String itemText)
Adds a child tree item containing the specified text. |
FastTreeItem |
addItem(com.google.gwt.user.client.ui.Widget widget)
Adds a child tree item containing the specified widget. |
FastTreeItem |
getChild(int index)
Gets the child at the specified index. |
int |
getChildCount()
Gets the number of children contained in this item. |
int |
getChildIndex(FastTreeItem child)
Gets the index of the specified child item. |
void |
removeItem(FastTreeItem item)
Removes one of this item's children. |
Method Detail |
---|
void addItem(FastTreeItem item)
item
- the item to be addedFastTreeItem addItem(java.lang.String itemText)
itemText
- the text to be added
FastTreeItem addItem(com.google.gwt.user.client.ui.Widget widget)
widget
- the widget to be added
FastTreeItem getChild(int index)
index
- the index to be retrieved
int getChildCount()
int getChildIndex(FastTreeItem child)
child
- the child item to be found
-1
if none is foundvoid removeItem(FastTreeItem item)
item
- the item to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |