Package com.google.gwt.user.client.ui
Interface InsertPanel
- All Superinterfaces:
IndexedPanel
- All Known Subinterfaces:
InsertPanel.ForIsWidget
- All Known Implementing Classes:
AbsolutePanel,DeckLayoutPanel,DeckPanel,DecoratedStackPanel,FlowPanel,HorizontalPanel,RootPanel,StackPanel,VerticalPanel
Implemented by
IndexedPanels that also allow insertions.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtends this interface with convenience methods to handleIsWidget. -
Method Summary
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
Method Details
-
add
Adds a child widget to this panel.- Parameters:
w- the child widget to be added
-
insert
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.- Parameters:
w- the child widget to be insertedbeforeIndex- the index before which it will be inserted- Throws:
IndexOutOfBoundsException- ifbeforeIndexis out of range
-