public class UiWidgetAdapterGwtMenuItem extends UiWidgetAdapterGwtMenuItemBase implements UiWidgetAdapterMenuItemClickable, com.google.gwt.user.client.Command
UiWidgetAdapterMenuItemClickable using GWT based on MenuItem.TAB_INDEX_NONEACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEPROPERTY_LABELATTRIBUTE_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, setLabeladdHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, dispose, getActiveWidget, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisibleapplyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSendercreateLabel, 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, waitisFocusedgetAccessKeycreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipsetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributesetLabelgetLabelsetImagegetImageprotected 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.ScheduledCommandexecute in interface com.google.gwt.user.client.Commandpublic void setAccessKey(char accessKey)
accessKey attribute of this object.setAccessKey in interface AttributeWriteAccessKeyaccessKey - is the new value of AttributeReadAccessKey.getAccessKey(). Use AttributeReadAccessKey.ACCESS_KEY_NONE to unset.public boolean setFocused()
focus to this object. setFocused in interface AttributeWriteOnlyFocusedtrue if the focus has been set successfully, false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.