public class UiWidgetAdapterGwtMenuBar extends UiWidgetAdapterGwtWidget<com.google.gwt.user.client.ui.MenuBar> implements UiWidgetAdapterMenuBar
UiWidgetAdapterDynamicComposite
using GWT based on
MenuBar
.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 |
---|
UiWidgetAdapterGwtMenuBar()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(UiWidgetMenu child,
int index)
This method adds the given
child at the given index . |
protected com.google.gwt.user.client.ui.MenuBar |
createToplevelWidget()
This method creates the
underlying widget . |
void |
removeChild(UiWidgetMenu 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, 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
protected com.google.gwt.user.client.ui.MenuBar createToplevelWidget()
underlying widget
. createToplevelWidget
in class AbstractUiWidgetAdapter<com.google.gwt.user.client.ui.MenuBar>
underlying 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
enabled
- - if true
the object will be enabled, else the object will be disabled.public void addChild(UiWidgetMenu child, int index)
child
at the given index
.addChild
in interface UiWidgetAdapterDynamicComposite<UiWidgetMenu>
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(UiWidgetMenu child, int index)
child
from the widget
.removeChild
in interface UiWidgetAdapterDynamicComposite<UiWidgetMenu>
child
- is the child to remove.index
- is the index of the child to remove.Copyright © 2001–2016 mmm-Team. All rights reserved.