Package com.google.gwt.user.client.ui
Interface IndexedPanel
- All Known Subinterfaces:
- IndexedPanel.ForIsWidget,- InsertPanel,- InsertPanel.ForIsWidget
- All Known Implementing Classes:
- AbsolutePanel,- CellPanel,- ComplexPanel,- DeckLayoutPanel,- DeckPanel,- DecoratedStackPanel,- DecoratedTabPanel,- DockLayoutPanel,- DockPanel,- FlowPanel,- HorizontalPanel,- HTMLPanel,- LayoutPanel,- RenderablePanel,- RootLayoutPanel,- RootPanel,- SplitLayoutPanel,- StackLayoutPanel,- StackPanel,- TabLayoutPanel,- TabPanel,- VerticalPanel
public interface IndexedPanel
Implemented by panels that impose an explicit ordering on their children.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtends this interface with convenience methods to handleIsWidget.
- 
Method SummaryModifier and TypeMethodDescriptiongetWidget(int index) Gets the child widget at the specified index.intGets the number of child widgets in this panel.intgetWidgetIndex(Widget child) Gets the index of the specified child widget.booleanremove(int index) Removes the widget at the specified index.
- 
Method Details- 
getWidgetGets the child widget at the specified index.- Parameters:
- index- the child widget's index
- Returns:
- the child widget
 
- 
getWidgetCountint getWidgetCount()Gets the number of child widgets in this panel.- Returns:
- the number of children
 
- 
getWidgetIndexGets the index of the specified child widget.- Parameters:
- child- the widget to be found
- Returns:
- the widget's index, or -1if it is not a child of this panel
 
- 
removeboolean remove(int index) Removes the widget at the specified index.- Parameters:
- index- the index of the widget to be removed
- Returns:
- falseif the widget is not present
 
 
-