API Reference 0.3.24dart_web_toolkit_uiInsertPanelForIsWidget

InsertPanelForIsWidget abstract class

Extends this interface with convenience methods to handle IsWidget.

abstract class InsertPanelForIsWidget implements InsertPanel, IndexedPanelForIsWidget {

 void addIsWidget(IsWidget w);

 void insertIsWidget(IsWidget w, int beforeIndex);
}

Subclasses

AbsolutePanel, DeckLayoutPanel, DeckPanel, FlowPanel, HorizontalPanel, StackPanel, VerticalPanel

Implements

IndexedPanelForIsWidget, InsertPanel

Methods

abstract void add(Widget w) #

inherited from InsertPanel

Adds a child widget to this panel.

@param w the child widget to be added

abstract void addIsWidget(IsWidget w) #

abstract Widget getWidgetAt(int index) #

inherited from IndexedPanel

Gets the child widget at the specified index.

@param index the child widget's index @return the child widget

abstract int getWidgetCount() #

inherited from IndexedPanel

Gets the number of child widgets in this panel.

@return the number of children

abstract int getWidgetIndex(Widget child) #

inherited from IndexedPanel

Gets the index of the specified child widget.

@param child the widget to be found @return the widget's index, or <code>-1</code> if it is not a child of this

    panel

abstract int getWidgetIndexIsWidget(IsWidget child) #

inherited from IndexedPanelForIsWidget

abstract void insertAt(Widget w, int beforeIndex) #

inherited from InsertPanel

Inserts a child widget before the specified index. If the widget is already a child of this panel, it will be moved to the specified index.

@param w the child widget to be inserted @param beforeIndex the index before which it will be inserted @throws IndexOutOfBoundsException if <code>beforeIndex</code> is out of

      range

abstract void insertIsWidget(IsWidget w, int beforeIndex) #

abstract bool removeAt(int index) #

inherited from IndexedPanel

Removes the widget at the specified index.

@param index the index of the widget to be removed @return <code>false</code> if the widget is not present