WIDGET - is the generic type of AbstractUiWidgetAdapter.getToplevelWidget().public abstract class UiWidgetAdapterGwtPanel<WIDGET extends com.google.gwt.user.client.ui.Panel & com.google.gwt.user.client.ui.InsertPanel> extends UiWidgetAdapterGwtDynamicComposite<WIDGET,UiWidgetRegular> implements UiWidgetAdapterDynamicPanel
TAB_INDEX_NONEHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_LABELACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYATTRIBUTE_COLSPAN| Constructor and Description |
|---|
UiWidgetAdapterGwtPanel()
The constructor.
|
UiWidgetAdapterGwtPanel(WIDGET toplevelWidget)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(UiWidgetRegular child,
int index)
This method adds the given
child at the given index. |
void |
removeChild(UiWidgetRegular child,
int index)
This method removes the given
child from the widget. |
void |
setEnabled(boolean enabled)
This method sets the
enabled status of this object. |
dispose, getActiveWidget, removeFromParentaddHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisibleapplyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSendercreateLabel, createToplevelWidget, getAccessKey, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setMode, setParent, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributepublic UiWidgetAdapterGwtPanel()
public UiWidgetAdapterGwtPanel(WIDGET toplevelWidget)
toplevelWidget - is the toplevel widget.public void setEnabled(boolean enabled)
enabled status of this object. If it is disabled, the user can
not interact with the object.setEnabled in interface AttributeWriteEnabledsetEnabled in class UiWidgetAdapterGwtDynamicComposite<WIDGET extends com.google.gwt.user.client.ui.Panel & com.google.gwt.user.client.ui.InsertPanel,UiWidgetRegular>enabled - - if true the object will be enabled, else the object will be disabled.public void addChild(UiWidgetRegular child, int index)
child at the given index.addChild in interface UiWidgetAdapterDynamicComposite<UiWidgetRegular>child - is the UiWidget to add as child of this panel.index - -1 to add the child at the end, otherwise the index where to
insert the given child.UiWidgetDynamicComposite.addChild(UiWidget, int),
List.add(int, Object)public void removeChild(UiWidgetRegular child, int index)
child from the widget.removeChild in interface UiWidgetAdapterDynamicComposite<UiWidgetRegular>removeChild in class UiWidgetAdapterGwtDynamicComposite<WIDGET extends com.google.gwt.user.client.ui.Panel & com.google.gwt.user.client.ui.InsertPanel,UiWidgetRegular>child - is the child to remove.index - is the index of the child to remove.Copyright © 2001–2016 mmm-Team. All rights reserved.