| Platform | Since |
|---|---|
| Android | 1.5 |
The Titanium binding of an Android MenuItem
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getEnabled |
Gets the value of the enabled property. |
| getGroupId |
retrieve the groupId for this item |
| getItemId |
retrieve the itemId for this item |
| getOrder |
retrieve the sort order |
| getTitle |
retrieve the title of the item |
| getTitleCondensed |
retrieve the condensed title of the item |
| getVisible |
Gets the value of the visible property. |
| isEnabled |
retrieve the enabled state of the menu |
| isVisible |
retrieve the visible state of the menu |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| setEnabled |
set the enabled state of the item |
| setIcon |
set the icon for the item |
| setTitle |
set the title for the item |
| setTitleCondensed |
set the condensed title for the item |
| setVisible |
set the visible state of the item |
| Name | Type | Summary |
|---|---|---|
| enabled | Boolean |
set the enabled state of the item |
| groupId | Number |
groupId for this item read-only |
| itemId | Number |
itemId for this item read-only |
| order | Number |
integer used for controlling sort order read-only |
| title | String |
item title |
| titleCondensed | String |
condensed item title |
| visible | Boolean |
set the visible state of the item |
| Name | Summary |
|---|---|
| click |
fired when the user presses the button |