API Reference 0.3.24dart_web_toolkit_uiAcceptsOneWidget

AcceptsOneWidget abstract class

Implemented by displays that can be given accept an {@link IsWidget} to show.

abstract class AcceptsOneWidget {

 /**
  * Set the only widget of the receiver, replacing the previous
  * widget if there was one.
  *
  * @param w the widget, or <code>null</code> to remove the widget
  *
  * @see SimplePanel
  */
 void setWidgetIsWidget(IsWidget w);
}

Subclasses

DeckLayoutPanel, HasOneWidget

Methods

abstract void setWidgetIsWidget(IsWidget w) #

Set the only widget of the receiver, replacing the previous widget if there was one.

@param w the widget, or <code>null</code> to remove the widget

@see SimplePanel