HasTreeItemsForIsWidget abstract class
Extends this interface with convenience methods to handle {@link IsWidget}.
abstract class HasTreeItemsForIsWidget extends HasTreeItems { TreeItem addIsWidgetItem(IsWidget w); }
Extends
HasTreeItems > HasTreeItemsForIsWidget
Subclasses
Methods
abstract void addIsTreeItem(IsTreeItem isItem) #
Adds an item wrapped by specified {@link IsTreeItem}.
@param isItem the wrapper of item to be added
abstract void addItem(TreeItem item) #
Adds an tree item.
@param item the item to be added
abstract TreeItem addSafeHtmlItem(SafeHtml itemHtml) #
Adds a simple tree item containing the specified html.
@param itemHtml the html of the item to be added @return the item that was added
abstract TreeItem addTextItem(String itemText) #
Adds a simple tree item containing the specified text.
@param itemText the text of the item to be added @return the item that was added
abstract TreeItem addWidgetItem(Widget widget) #
Adds a new tree item containing the specified widget.
@param widget the widget to be added @return the new item
abstract void removeIsTreeItem(IsTreeItem isItem) #
Removes an item.
@param isItem the wrapper of item to be removed
abstract void removeItem(TreeItem item) #
Removes an item.
@param item the item to be removed