API Reference 0.3.24dart_web_toolkit_uiHasWidgetsForIsWidget

HasWidgetsForIsWidget abstract class

Extends this interface with convenience methods to handle IsWidget.

abstract class HasWidgetsForIsWidget implements HasWidgets {

 void addIsWidget(IsWidget w);

 bool removeIsWidget(IsWidget w);
}

Subclasses

CaptionPanel, DisclosurePanel, Panel, Tree

Implements

HasWidgets

Methods

abstract void add(Widget w) #

inherited from HasWidgets

Adds a child widget.

@param w the widget to be added @throws UnsupportedOperationException if this method is not supported (most

      often this means that a specific overload must be called)

abstract void addIsWidget(IsWidget w) #

abstract void clear() #

inherited from HasWidgets

Removes all child widgets.

abstract Iterator<Widget> iterator() #

inherited from HasWidgets

Returns an Iterator that iterates over this Iterable object.

abstract bool remove(Widget w) #

inherited from HasWidgets

Removes a child widget.

@param w the widget to be removed @return <code>true</code> if the widget was present

abstract bool removeIsWidget(IsWidget w) #