Package com.google.gwt.user.client.ui
Interface AcceptsOneWidget
-
- All Known Subinterfaces:
HasOneWidget
- All Known Implementing Classes:
CustomScrollPanel,DeckLayoutPanel,DecoratedPopupPanel,DecoratorPanel,DialogBox,FocusPanel,FormPanel,LazyPanel,LoggingPopup,PopupPanel,ResizeLayoutPanel,ScrollPanel,SimpleLayoutPanel,SimplePanel
public interface AcceptsOneWidgetImplemented by displays that can be given accept anIsWidgetto show.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetWidget(IsWidget w)Set the only widget of the receiver, replacing the previous widget if there was one.
-
-
-
Method Detail
-
setWidget
void setWidget(IsWidget w)
Set the only widget of the receiver, replacing the previous widget if there was one.- Parameters:
w- the widget, ornullto remove the widget- See Also:
SimplePanel
-
-