Search wiring.org.co:

Libraries

## MenuItem

MenuItem
Basic item with a name and an optional mnemonic

registerBackend()
Register a backend for this item to use for callbacks and such.

getValue()
Get the value for this item.

getShortkey()
Get the shortkey of this item.

increment()
Increment the value of this item.

decrement()
Decrement the value of this item.

setLevel()
Set the level of this item.

getLevel()
Get the level of this item.

hasShortKey()
Check to see if this item has a shorkey.

hasChildren()
Check to see if this item has children.

getShortkey()
Get the shortkey of this item.

getName()
Get the name of this item.

getBack()
Get the item 'back' of this item (historical back).

getBefore()
Get the item 'before' this item.

getRight()
Get the item 'right' of this item.

getAfter()
Get the item 'after' of this item.

getLeft()
Get the item 'left' of this item.

add()
Add an item after this item in the hierarchy.

addBefore()
Add an item before this item in the hierarchy.

addRight()
Add an item right this item in the hierarchy.

addAfter()
Add an item after this item in the hierarchy.

addLeft()
Add an item left this item in the hierarchy.

isEqual()
Check to see if an item is equal to this.

setBack()
Set the item that belongs as the historical 'back' for this item.

setValue()
Set the value for this item.