| java.lang.Object java.awt.MenuComponent java.awt.MenuItem java.awt.Menu
All known Subclasses: java.awt.PopupMenu,
Inner Class :protected class AccessibleAWTMenu extends AccessibleAWTMenuItem | |
Method Summary | |
public void | add(String label) | public MenuItem | add(MenuItem item) | public void | addNotify() | public void | addSeparator() | void | collectShortcuts(HashSet<MenuShortcut> shortcuts) | public int | countItems() | AccessibleContext | createAccessibleContext() | public AccessibleContext | getAccessibleContext() | Graphics | getGraphics(MultiRectArea clip) | int | getHeight() | public MenuItem | getItem(int index) | public int | getItemCount() | Rectangle | getItemRect(int index) | Point | getLocation() | Window | getOwnerWindow() | PopupBox | getPopupBox() | Dimension | getSize() | Point | getSubmenuLocation(int index) | int | getWidth() | void | hide() | public void | insert(String label, int index) | public void | insert(MenuItem item, int index) | void | insertImpl(MenuItem item, int index) | public void | insertSeparator(int index) | public boolean | isTearOff() | boolean | isVisible() | void | itemSelected(long when, int modifiers) | void | onKeyEvent(int eventId, int vKey, long when, int modifiers) | void | onMouseEvent(int eventId, Point where, int mouseButton, long when, int modifiers) | void | paint(Graphics gr) | public String | paramString() | public void | remove(int index) | public void | remove(MenuComponent item) | public void | removeAll() | void | removeImpl(int index) | public void | removeNotify() | void | show(int x, int y, boolean modal) |
LAST_ELEMENT | final static int LAST_ELEMENT(Code) | | |
menuState | final State menuState(Code) | | |
popupBox | final MenuPopupBox popupBox(Code) | | |
addNotify | public void addNotify()(Code) | | |
addSeparator | public void addSeparator()(Code) | | |
countItems | public int countItems()(Code) | | |
getHeight | int getHeight()(Code) | | |
getItemCount | public int getItemCount()(Code) | | |
getSubmenuLocation | Point getSubmenuLocation(int index)(Code) | | |
insertSeparator | public void insertSeparator(int index)(Code) | | |
isTearOff | public boolean isTearOff()(Code) | | |
isVisible | boolean isVisible()(Code) | | |
itemSelected | void itemSelected(long when, int modifiers)(Code) | | |
onKeyEvent | void onKeyEvent(int eventId, int vKey, long when, int modifiers)(Code) | | |
onMouseEvent | void onMouseEvent(int eventId, Point where, int mouseButton, long when, int modifiers)(Code) | | |
remove | public void remove(int index)(Code) | | |
removeAll | public void removeAll()(Code) | | |
removeImpl | void removeImpl(int index)(Code) | | |
removeNotify | public void removeNotify()(Code) | | |
show | void show(int x, int y, boolean modal)(Code) | | Show menu on the screen
Parameters: x - - screen X coordinate Parameters: y - - screen Y coordinate |
Methods inherited from java.awt.MenuComponent | String autoName()(Code)(Java Doc) AccessibleContext createAccessibleContext()(Code)(Java Doc) final public void dispatchEvent(AWTEvent event)(Code)(Java Doc) void endMenu()(Code)(Java Doc) void fireItemAction(int item, long when, int modifiers)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) Graphics getGraphics(MultiRectArea clip)(Code)(Java Doc) int getHeight()(Code)(Java Doc) MenuItem getItem(int index)(Code)(Java Doc) int getItemCount()(Code)(Java Doc) Rectangle getItemRect(int index)(Code)(Java Doc) Point getLocation()(Code)(Java Doc) MenuBar getMenuBar()(Code)(Java Doc) public String getName()(Code)(Java Doc) public MenuContainer getParent()(Code)(Java Doc) public MenuComponentPeer getPeer() throws org.apache.harmony.luni.util.NotImplementedException(Code)(Java Doc) PopupBox getPopupBox()(Code)(Java Doc) int getSelectedItemIndex()(Code)(Java Doc) Menu getSelectedSubmenu()(Code)(Java Doc) MenuItem getShortcutMenuItemImpl(MenuShortcut ms)(Code)(Java Doc) Point getSubmenuLocation(int index)(Code)(Java Doc) final protected Object getTreeLock()(Code)(Java Doc) final MultiRectArea getUpdateClip(int index1, int index2)(Code)(Java Doc) int getWidth()(Code)(Java Doc) boolean hasDefaultFont()(Code)(Java Doc) void hide()(Code)(Java Doc) boolean isActive()(Code)(Java Doc) boolean isFontSet()(Code)(Java Doc) boolean isVisible()(Code)(Java Doc) void itemHidden(MenuComponent mc)(Code)(Java Doc) void itemSelected(long when, int modifiers)(Code)(Java Doc) void onKeyEvent(int eventId, int vKey, long when, int modifiers)(Code)(Java Doc) void onMouseEvent(int eventId, Point where, int mouseButton, long when, int modifiers)(Code)(Java Doc) void paint(Graphics gr)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) void postDeprecatedEvent(AWTEvent event)(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) protected void processEvent(AWTEvent event)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) void selectItem(int index)(Code)(Java Doc) void selectItem(int index, boolean showSubMenu)(Code)(Java Doc) void selectNextItem(boolean forward, boolean showSubMenu)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) void setParent(MenuContainer parent)(Code)(Java Doc) void showSubMenu(int index)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|