public class UiWidgetAdapterGwtMenuItem extends UiWidgetAdapterGwtMenuItemBase implements UiWidgetAdapterMenuItemClickable, com.google.gwt.user.client.Command
UiWidgetAdapterMenuItemClickable
using GWT based on MenuItem
.TAB_INDEX_NONE
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
PROPERTY_LABEL
ATTRIBUTE_COLSPAN
Constructor and Description |
---|
UiWidgetAdapterGwtMenuItem()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected com.google.gwt.user.client.ui.MenuItem |
createToplevelWidget()
This method creates the
underlying widget . |
void |
execute() |
void |
setAccessKey(char accessKey)
This method sets the
accessKey attribute of this object. |
boolean |
setFocused()
This method sets the
focus to this object. |
removeFromParent, setEnabled, setLabel
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, dispose, getActiveWidget, 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
isFocused
getAccessKey
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
setLabel
getLabel
setImage
getImage
protected com.google.gwt.user.client.ui.MenuItem createToplevelWidget()
underlying widget
. createToplevelWidget
in class AbstractUiWidgetAdapter<com.google.gwt.user.client.ui.MenuItem>
underlying widget
.public void execute()
execute
in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
execute
in interface com.google.gwt.user.client.Command
public void setAccessKey(char accessKey)
accessKey
attribute of this object.setAccessKey
in interface AttributeWriteAccessKey
accessKey
- is the new value of AttributeReadAccessKey.getAccessKey()
. Use AttributeReadAccessKey.ACCESS_KEY_NONE
to unset.public boolean setFocused()
focus
to this object. setFocused
in interface AttributeWriteOnlyFocused
true
if the focus has been set successfully, false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.