| Modifier and Type | Field and Description |
|---|---|
| private static PlatformLogger | log
Data members |
| pack-priv XMenuWindow | menuWindow
Window that correspond to this menu |
| Modifier and Type | Method and Description |
|---|---|
| public void | addItem(MenuItem item)
Implements java. Adds the specified menu item to the menu. |
| public void | delItem(int index)
Implements java. Removes the menu item at the specified index. |
| public void | dispose()
Overrides sun. Implements java. Disposes menu window if needed |
| pack-priv XMenuWindow | getMenuWindow()
Returns menu window of this menu or null it this menu has no container and so its window can't be created. |
| pack-priv String | |
| pack-priv Vector | |
| pack-priv boolean | |
| pack-priv void | setContainer(XBaseMenuWindow container)
Overrides sun. This function is called when menu is bound to its container window. |
| public void | setFont(Font font)
Overrides sun. Implements java. Resets text metrics for this item, for its menu window and for all descendant menu windows |
| log | back to summary |
|---|---|
| private static PlatformLogger log Data members | |
| menuWindow | back to summary |
|---|---|
| pack-priv XMenuWindow menuWindow Window that correspond to this menu | |
| XMenuPeer | back to summary |
|---|---|
| pack-priv XMenuPeer(Menu target) Construction | |
| addItem | back to summary |
|---|---|
| public void addItem(MenuItem item) Implements java. Doc from java. Adds the specified menu item to the menu.
| |
| delItem | back to summary |
|---|---|
| public void delItem(int index) Implements java. Doc from java. Removes the menu item at the specified index.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides sun. Implements java. Disposes menu window if needed
| |
| getMenuWindow | back to summary |
|---|---|
| pack-priv XMenuWindow getMenuWindow() Returns menu window of this menu or null it this menu has no container and so its window can't be created. | |
| getShortcutText | back to summary |
|---|---|
| pack-priv String getShortcutText() Overrides sun.
| |
| getTargetItems | back to summary |
|---|---|
| pack-priv Vector Access to target's fields | |
| isSeparator | back to summary |
|---|---|
| pack-priv boolean isSeparator() Overrides sun. Overridden behaviour
| |
| setContainer | back to summary |
|---|---|
| pack-priv void setContainer(XBaseMenuWindow container) Overrides sun. This function is called when menu is bound to its container window. Creates submenu window that fills its items vector while construction
| |
| setFont | back to summary |
|---|---|
| public void setFont(Font font) Overrides sun. Implements java. Resets text metrics for this item, for its menu window and for all descendant menu windows
| |