Interface MMenuElement

All Superinterfaces:
MApplicationElement, MLocalizable, MUIElement, MUILabel
All Known Subinterfaces:
MDirectMenuItem, MDynamicMenuContribution, MHandledMenuItem, MMenu, MMenuItem, MMenuSeparator, MPopupMenu
All Known Implementing Classes:
DirectMenuItemImpl, DynamicMenuContributionImpl, HandledMenuItemImpl, MenuElementImpl, MenuImpl, MenuItemImpl, MenuSeparatorImpl, PopupMenuImpl

public interface MMenuElement extends MUIElement, MUILabel
A representation of the model object 'Element'.

This is the bsae type for both menu items and Separators.

This interface is not intended to be implemented by clients.

The following features are supported:

  • Method Details

    • getMnemonics

      String getMnemonics()
      Returns the value of the 'Mnemonics' attribute.

      This is the character that is interpreted by the platform to allow for easier navigation through menus.

      the value of the 'Mnemonics' attribute.
      See Also:
    • setMnemonics

      void setMnemonics(String value)
      Sets the value of the 'Mnemonics' attribute.
      value - the new value of the 'Mnemonics' attribute.
      See Also:
    • getLocalizedMnemonics

      String getLocalizedMnemonics()

      This is a method that will return the translated mnemonic for this element.