public interface MenuItemInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccelerator()
Gets this menu-item accelerator - KEYLABEL of the short key assigned to this menu-item.
|
boolean |
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.
|
java.lang.String 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.boolean 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.