public interface MenuItemInterface extends MnemonicInterface
Modifier and Type | Method and Description |
---|---|
character |
getAccelerator()
Gets this menu-item accelerator - KEYLABEL of the short key assigned to this menu-item.
|
logical |
isToggleBox()
Gets the TOGGLE-BOX attribute value.
|
void |
setAccelerator(character accelerator)
Sets this menu-item accelerator - KEYLABEL of the short key assigned to this menu-item.
|
void |
setAccelerator(java.lang.String accelerator)
Sets this menu-item accelerator - KEYLABEL of the short key assigned to this menu-item.
|
void |
setToggleBox(boolean toggleBox)
Sets the TOGGLE-BOX attribute of the menu-item.
|
void |
setToggleBox(logical toggleBox)
Sets the TOGGLE-BOX attribute of the menu-item.
|
getMnemonic, getPreprocessedLabel
character getAccelerator()
void setAccelerator(java.lang.String accelerator)
accelerator
- The valid key-label, that will be target accelerator.void setAccelerator(character accelerator)
accelerator
- The valid key-label, that will be target accelerator.logical isToggleBox()
true
if the menu-item should have a
checkbox.void setToggleBox(boolean toggleBox)
toggleBox
- true
if the menu-item should have a checkbox.void setToggleBox(logical toggleBox)
toggleBox
- true
if the menu-item should have a checkbox.