| java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite
All known Subclasses: com.google.gwt.user.client.ui.SuggestBox, com.google.gwt.sample.dynatable.client.DynaTableWidget, com.google.gwt.user.client.ui.DisclosurePanel, com.google.gwt.sample.mail.client.Shortcuts, com.google.gwt.user.client.ui.TabPanel, com.google.gwt.sample.mail.client.TopPanel, com.google.gwt.sample.dynatable.client.DayFilterWidget, com.google.gwt.sample.dynatable.client.SchoolCalendarWidget, com.google.gwt.sample.mail.client.Mailboxes, com.google.gwt.sample.mail.client.Tasks, com.google.gwt.sample.kitchensink.client.Sink, com.google.gwt.sample.kitchensink.client.RichTextToolbar, com.google.gwt.sample.mail.client.Contacts, com.google.gwt.sample.mail.client.MailList, com.google.gwt.user.client.ui.TabBar, com.google.gwt.sample.mail.client.MailDetail, com.google.gwt.sample.kitchensink.client.SinkList,
Composite | abstract public class Composite extends Widget (Code) | | A type of widget that can wrap another widget, hiding the wrapped widget's
methods. When added to a panel, a composite behaves exactly as if the widget
it wraps had been added.
The composite is useful for creating a single widget out of an aggregate of
multiple other widgets contained in a single panel.
Example
|
getWidget | protected Widget getWidget()(Code) | | Provides subclasses access to the topmost widget that defines this
composite.
the widget |
initWidget | protected void initWidget(Widget widget)(Code) | | Sets the widget to be wrapped by the composite. The wrapped widget must be
set before calling any
Widget methods on this object, or adding it
to a panel. This method may only be called once for a given composite.
Parameters: widget - the widget to be wrapped |
isAttached | public boolean isAttached()(Code) | | |
onAttach | protected void onAttach()(Code) | | |
onDetach | protected void onDetach()(Code) | | |
|
|