| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private native long | |
| private native long | _createMenuItem(String title, char shortcut, int modifiers, Pixels icon, boolean enabled, boolean checked, MenuItem.
|
| private static native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| public boolean | createMenu(String title, boolean enabled)
Implements com.
|
| public boolean | createMenuItem(String title, MenuItem.
Implements com.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | setCallback(MenuItem.
Implements com.
|
| public boolean | |
| public boolean | setEnabled(boolean enabled)
Implements com.
|
| public boolean | |
| public boolean | setShortcut(int shortcutKey, int shortcutModifiers)
Implements com.
|
| public boolean |
| MacMenuDelegate | back to summary |
|---|---|
| public MacMenuDelegate(final Menu menu) | |
| MacMenuDelegate | back to summary |
|---|---|
| public MacMenuDelegate() | |
| _createMenu | back to summary |
|---|---|
| private native long _createMenu(String title, boolean enabled) | |
| _createMenuItem | back to summary |
|---|---|
| private native long _createMenuItem(String title, char shortcut, int modifiers, Pixels icon, boolean enabled, boolean checked, MenuItem. | |
| _initIDs | back to summary |
|---|---|
| private static native void _initIDs() | |
| _insert | back to summary |
|---|---|
| private native void _insert(long menuPtr, long submenuPtr, int pos) | |
| _remove | back to summary |
|---|---|
| private native void _remove(long menuPtr, long submenuPtr, int pos) | |
| _setCallback | back to summary |
|---|---|
| private native void _setCallback(long menuPtr, MenuItem. | |
| _setChecked | back to summary |
|---|---|
| private native void _setChecked(long menuPtr, boolean checked) | |
| _setEnabled | back to summary |
|---|---|
| private native void _setEnabled(long menuPtr, boolean enabled) | |
| _setPixels | back to summary |
|---|---|
| private native void _setPixels(long menuPtr, Pixels pixels) | |
| _setShortcut | back to summary |
|---|---|
| private native void _setShortcut(long menuPtr, char shortcut, int modifiers) | |
| _setTitle | back to summary |
|---|---|
| private native void _setTitle(long menuPtr, String title) | |
| createMenu | back to summary |
|---|---|
| public boolean createMenu(String title, boolean enabled) Implements com.
| |
| createMenuItem | back to summary |
|---|---|
| public boolean createMenuItem(String title, MenuItem. Implements com.
| |
| insert | back to summary |
|---|---|
| public boolean insert(MenuDelegate menu, int pos) Implements com.
| |
| insert | back to summary |
|---|---|
| public boolean insert(MenuItemDelegate item, int pos) Implements com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(MenuDelegate menu, int pos) Implements com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(MenuItemDelegate item, int pos) Implements com.
| |
| setCallback | back to summary |
|---|---|
| public boolean setCallback(MenuItem. Implements com.
| |
| setChecked | back to summary |
|---|---|
| public boolean setChecked(boolean checked) Implements com.
| |
| setEnabled | back to summary |
|---|---|
| public boolean setEnabled(boolean enabled) Implements com.
| |
| setPixels | back to summary |
|---|---|
| public boolean setPixels(Pixels pixels) Implements com.
| |
| setShortcut | back to summary |
|---|---|
| public boolean setShortcut(int shortcutKey, int shortcutModifiers) Implements com.
| |
| setTitle | back to summary |
|---|---|
| public boolean setTitle(String title) Implements com.
| |