Package com.google.gwt.user.client.ui
Interface HasWidgets
- All Known Subinterfaces:
HasWidgets.ForIsWidget
- All Known Implementing Classes:
AbsolutePanel,CaptionPanel,CellGridImpl,CellPanel,ComplexPanel,CustomScrollPanel,DeckLayoutPanel,DeckPanel,DecoratedPopupPanel,DecoratedStackPanel,DecoratedTabPanel,DecoratorPanel,DefaultCalendarView.CellGrid,DialogBox,DisclosurePanel,DockLayoutPanel,DockPanel,FlexTable,FlowPanel,FocusPanel,FormPanel,Grid,HeaderPanel,HorizontalPanel,HorizontalSplitPanel,HTMLPanel,HTMLTable,LayoutPanel,LazyPanel,LoggingPopup,Panel,PopupPanel,RenderablePanel,ResizeLayoutPanel,RootLayoutPanel,RootPanel,ScrollPanel,SimpleLayoutPanel,SimplePanel,SplitLayoutPanel,SplitPanel,StackLayoutPanel,StackPanel,TabLayoutPanel,TabPanel,Tree,VerticalPanel,VerticalSplitPanel
A widget that implements this interface contains
widgets and can enumerate them.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtends this interface with convenience methods to handleIsWidget. -
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
add
Adds a child widget.- Parameters:
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)
-
clear
void clear()Removes all child widgets. -
iterator
Gets an iterator for the contained widgets. This iterator is required to implementIterator.remove(). -
remove
Removes a child widget.- Parameters:
w- the widget to be removed- Returns:
trueif the widget was present
-