API Reference 0.3.24dart_web_toolkit_uiHasTreeItemsForIsWidget

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

Tree

Methods

abstract void addIsTreeItem(IsTreeItem isItem) #

inherited from HasTreeItems

Adds an item wrapped by specified {@link IsTreeItem}.

@param isItem the wrapper of item to be added

abstract TreeItem addIsWidgetItem(IsWidget w) #

abstract void addItem(TreeItem item) #

inherited from HasTreeItems

Adds an tree item.

@param item the item to be added

abstract TreeItem addSafeHtmlItem(SafeHtml itemHtml) #

inherited from HasTreeItems

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) #

inherited from HasTreeItems

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) #

inherited from HasTreeItems

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) #

inherited from HasTreeItems

Removes an item.

@param isItem the wrapper of item to be removed

abstract void removeItem(TreeItem item) #

inherited from HasTreeItems

Removes an item.

@param item the item to be removed

abstract void removeItems() #

inherited from HasTreeItems

Removes all items.