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_NONE
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_LABEL
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
ATTRIBUTE_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, removeFromParent
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisible
applyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSender
createLabel, 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, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
public 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 AttributeWriteEnabled
setEnabled
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.