| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final MenuItem | |
| private WinMenuImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | createMenuItem(String title, MenuItem.
Implements com.
|
| pack-priv int | |
| public MenuItem | |
| pack-priv WinMenuImpl | |
| private String | |
| public boolean | setCallback(MenuItem.
Implements com.
|
| public boolean | |
| public boolean | |
| pack-priv void | |
| public boolean | |
| public boolean | setShortcut(int shortcutKey, int shortcutModifiers)
Implements com.
|
| public boolean |
| cmdID | back to summary |
|---|---|
| private int cmdID | |
| owner | back to summary |
|---|---|
| private final MenuItem owner | |
| parent | back to summary |
|---|---|
| private WinMenuImpl parent | |
| WinMenuItemDelegate | back to summary |
|---|---|
| public WinMenuItemDelegate(MenuItem item) | |
| createMenuItem | back to summary |
|---|---|
| public boolean createMenuItem(String title, MenuItem. Implements com.
| |
| getCmdID | back to summary |
|---|---|
| pack-priv int getCmdID() | |
| getOwner | back to summary |
|---|---|
| public MenuItem getOwner() | |
| getParent | back to summary |
|---|---|
| pack-priv WinMenuImpl getParent() | |
| getTitle | back to summary |
|---|---|
| private String getTitle(String title, int key, int modifiers) Obtains title for the specified title & shortcut | |
| 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.
| |
| setParent | back to summary |
|---|---|
| pack-priv void setParent(WinMenuImpl newParent) | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static List | |
| private static final int | |
| private static final Map | |
| private static int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized void | |
| public static WinMenuItemDelegate | |
| public static synchronized int |
| FIRST_ID | back to summary |
|---|---|
| private static final int FIRST_ID | |
| freeList | back to summary |
|---|---|
| private static List<Integer> freeList | |
| LAST_ID | back to summary |
|---|---|
| private static final int LAST_ID | |
| map | back to summary |
|---|---|
| private static final Map<Integer, WinMenuItemDelegate> map | |
| nextID | back to summary |
|---|---|
| private static int nextID | |
| CommandIDManager | back to summary |
|---|---|
| pack-priv CommandIDManager() | |
| freeID | back to summary |
|---|---|
| public static synchronized void freeID(int cmdID) | |
| getHandler | back to summary |
|---|---|
| public static WinMenuItemDelegate getHandler(int cmdID) | |
| getID | back to summary |
|---|---|
| public static synchronized int getID(WinMenuItemDelegate menu) | |