| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private MenuItem. | |
| private boolean | |
| private final MenuItemDelegate | |
| private boolean | |
| public static final MenuItem | |
| private int | |
| private int | |
| private String |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public MenuItem. | |
| pack-priv MenuItemDelegate | |
| public int | |
| public int | |
| public String | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public void |
| callback | back to summary |
|---|---|
| private MenuItem. | |
| checked | back to summary |
|---|---|
| private boolean checked | |
| delegate | back to summary |
|---|---|
| private final MenuItemDelegate delegate | |
| enabled | back to summary |
|---|---|
| private boolean enabled | |
| Separator | back to summary |
|---|---|
| public static final MenuItem Separator | |
| shortcutKey | back to summary |
|---|---|
| private int shortcutKey | |
| shortcutModifiers | back to summary |
|---|---|
| private int shortcutModifiers | |
| title | back to summary |
|---|---|
| private String title | |
| MenuItem | back to summary |
|---|---|
| protected MenuItem(String title) | |
| MenuItem | back to summary |
|---|---|
| protected MenuItem(String title, MenuItem. | |
| MenuItem | back to summary |
|---|---|
| protected MenuItem(String title, MenuItem. | |
| MenuItem | back to summary |
|---|---|
| protected MenuItem(String title, MenuItem. | |
| getCallback | back to summary |
|---|---|
| public MenuItem. | |
| getDelegate | back to summary |
|---|---|
| pack-priv MenuItemDelegate getDelegate() | |
| getShortcutKey | back to summary |
|---|---|
| public int getShortcutKey() returns KeyEvent.VK_UNDEFINED if the shortcut is not assigned | |
| getShortcutModifiers | back to summary |
|---|---|
| public int getShortcutModifiers() returns KeyEvent.MODIFIER_NONE if the shortcut is not assigned | |
| getTitle | back to summary |
|---|---|
| public String getTitle() | |
| isChecked | back to summary |
|---|---|
| public boolean isChecked() | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() | |
| setCallback | back to summary |
|---|---|
| public void setCallback(MenuItem. | |
| setChecked | back to summary |
|---|---|
| public void setChecked(boolean checked) | |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) | |
| setPixels | back to summary |
|---|---|
| public boolean setPixels(Pixels pixels) | |
| setShortcut | back to summary |
|---|---|
| public void setShortcut(int shortcutKey, int shortcutModifiers) | |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) | |
| action | back to summary |
|---|---|
| public void action() | |
| validate | back to summary |
|---|---|
| public void validate() | |