| java.lang.Object | |
| ↳ | com.pspdfkit.ui.actionmenu.ActionMenuItem |
Known Direct Subclasses
|
Represents item inside ActionMenu.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | ActionMenuItem.MenuItemType | Supported types of action menu items. | |||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ActionMenuItem(int itemId, ActionMenuItem.MenuItemType itemType, Drawable icon, String label)
Create new item menu item representing single generic action.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Drawable | getIcon() | ||||||||||
| int |
getItemId()
Return the resource id for this menu item.
| ||||||||||
| ActionMenuItem.MenuItemType |
getItemType()
Return type of the action menu item.
| ||||||||||
| String | getLabel() | ||||||||||
| boolean | isEnabled() | ||||||||||
| void |
setEnabled(boolean enabled)
Set the enabled state of this item.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create new item menu item representing single generic action.
| itemId | Resource id representing menu item. |
|---|---|
| itemType | Type of the item. |
| icon | Icon for the menu item. |
| label | Label of the menu item. |
Return the resource id for this menu item.
Return type of the action menu item.
Set the enabled state of this item.
| enabled | True if this menu item is enabled, false otherwise. |
|---|