public abstract class SingleCompositePanel extends com.google.gwt.user.client.ui.Panel implements SingleChildPanel
Widget
that represents a Panel
owing a single child.Modifier and Type | Field and Description |
---|---|
private com.google.gwt.user.client.ui.Widget |
childWidget |
Constructor and Description |
---|
SingleCompositePanel()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget child) |
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
boolean |
remove(com.google.gwt.user.client.ui.Widget child) |
void |
setChild(com.google.gwt.user.client.ui.Widget child) |
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
private com.google.gwt.user.client.ui.Widget childWidget
setChild(Widget)
public void setChild(com.google.gwt.user.client.ui.Widget child)
setChild
in interface SingleChildPanel
child
- is the Widget
to set as child. A potential child previously set via this method will
be removed.public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public void add(com.google.gwt.user.client.ui.Widget child)
add
in interface com.google.gwt.user.client.ui.HasWidgets
add
in class com.google.gwt.user.client.ui.Panel
public boolean remove(com.google.gwt.user.client.ui.Widget child)
remove
in interface com.google.gwt.user.client.ui.HasWidgets
remove
in class com.google.gwt.user.client.ui.Panel
Copyright © 2001–2016 mmm-Team. All rights reserved.