|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface HasTreeItems
A widget that implements this interface contains
items and can operate them.
| Nested Class Summary | |
|---|---|
static interface |
HasTreeItems.ForIsWidget
Extends this interface with convenience methods to handle IsWidget. |
| Method Summary | |
|---|---|
void |
addItem(IsTreeItem isItem)
Adds an item wrapped by specified IsTreeItem. |
TreeItem |
addItem(SafeHtml itemHtml)
Adds a simple tree item containing the specified html. |
void |
addItem(TreeItem item)
Adds an tree item. |
TreeItem |
addItem(Widget widget)
Adds a new tree item containing the specified widget. |
TreeItem |
addTextItem(java.lang.String itemText)
Adds a simple tree item containing the specified text. |
void |
removeItem(IsTreeItem isItem)
Removes an item. |
void |
removeItem(TreeItem item)
Removes an item. |
void |
removeItems()
Removes all items. |
| Method Detail |
|---|
TreeItem addItem(SafeHtml itemHtml)
itemHtml - the html of the item to be added
void addItem(TreeItem item)
item - the item to be addedvoid addItem(IsTreeItem isItem)
IsTreeItem.
isItem - the wrapper of item to be addedTreeItem addItem(Widget widget)
widget - the widget to be added
TreeItem addTextItem(java.lang.String itemText)
itemText - the text of the item to be added
void removeItem(TreeItem item)
item - the item to be removedvoid removeItem(IsTreeItem isItem)
isItem - the wrapper of item to be removedvoid removeItems()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||