Package com.google.gwt.user.client.ui
Interface HasOneWidget
- All Superinterfaces:
AcceptsOneWidget
- All Known Implementing Classes:
CustomScrollPanel
,DecoratedPopupPanel
,DecoratorPanel
,DialogBox
,FocusPanel
,FormPanel
,LazyPanel
,LoggingPopup
,PopupPanel
,ResizeLayoutPanel
,ScrollPanel
,SimpleLayoutPanel
,SimplePanel
Implemented by panels that have only one widget.
- See Also:
-
Method Summary
Methods inherited from interface com.google.gwt.user.client.ui.AcceptsOneWidget
setWidget
-
Method Details
-
getWidget
Widget getWidget()Gets the panel's child widget.- Returns:
- the child widget, or
null
if none is present
-
setWidget
Sets this panel's widget. Any existing child widget will be removed.- Parameters:
w
- the panel's new widget, ornull
to clear the panel
-