public interface MItem extends MUIElement, MUILabel
This is the base type for various menu and toolbar items.
| Modifier and Type | Method and Description |
|---|---|
ItemType |
getType()
Returns the value of the 'Type' attribute.
|
boolean |
isEnabled()
Returns the value of the 'Enabled' attribute.
|
boolean |
isSelected()
Returns the value of the 'Selected' attribute
|
void |
setEnabled(boolean value)
Sets the value of the '
Enabled' attribute |
void |
setSelected(boolean value)
Sets the value of the '
Selected' attribute |
void |
setType(ItemType value)
Sets the value of the '
Type' attribute |
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdgetIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltipupdateLocalizationboolean isEnabled()
"true".
Defines the current enablement state of a given menu or toolbar item.
setEnabled(boolean)void setEnabled(boolean value)
Enabled' attribute.
value - the new value of the 'Enabled' attribute.isEnabled()boolean isSelected()
Defines the current selection state for a menu or tool item
setSelected(boolean)void setSelected(boolean value)
Selected' attribute.
value - the new value of the 'Selected' attribute.isSelected()ItemType getType()
ItemType.
Defines the item type for this item.
ItemType,
setType(ItemType)