Java Doc for MenuItem.java in  » Apache-Harmony-Java-SE » java-package » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.MenuComponent
      java.awt.MenuItem

All known Subclasses:   java.awt.CheckboxMenuItem,  java.awt.Menu,
MenuItem
public class MenuItem extends MenuComponent implements Accessible(Code)

Inner Class :protected class AccessibleAWTMenuItem extends AccessibleAWTMenuComponent implements AccessibleAction,AccessibleValue
Inner Class :class State implements MenuItemState

Field Summary
final  StateitemState
    

Constructor Summary
public  MenuItem()
    
public  MenuItem(String label)
    
public  MenuItem(String label, MenuShortcut shortcut)
    

Method Summary
public  voidaddActionListener(ActionListener listener)
    
public  voidaddNotify()
    
 AccessibleContextcreateAccessibleContext()
    
 AWTEventcreateEvent(long when, int modifiers)
    
public  voiddeleteShortcut()
    
public  voiddisable()
    
final protected  voiddisableEvents(long eventsToDisable)
    
public  voidenable(boolean b)
    
public  voidenable()
    
final protected  voidenableEvents(long eventsToEnable)
    
public  AccessibleContextgetAccessibleContext()
    
public  StringgetActionCommand()
    
public  ActionListener[]getActionListeners()
    
public  StringgetLabel()
    
public  T[]getListeners(Class<T> listenerType)
    
public  MenuShortcutgetShortcut()
    
public  booleanisEnabled()
    
 voiditemSelected(long when, int modifiers)
    
public  StringparamString()
    
protected  voidprocessActionEvent(ActionEvent event)
    
protected  voidprocessEvent(AWTEvent event)
    
public  voidremoveActionListener(ActionListener listener)
    
public  voidsetActionCommand(String command)
    
public  voidsetEnabled(boolean enabled)
    
public  voidsetLabel(String label)
    
public  voidsetShortcut(MenuShortcut shortcut)
    

Field Detail
itemState
final State itemState(Code)




Constructor Detail
MenuItem
public MenuItem() throws HeadlessException(Code)



MenuItem
public MenuItem(String label) throws HeadlessException(Code)



MenuItem
public MenuItem(String label, MenuShortcut shortcut) throws HeadlessException(Code)




Method Detail
addActionListener
public void addActionListener(ActionListener listener)(Code)



addNotify
public void addNotify()(Code)



createAccessibleContext
AccessibleContext createAccessibleContext()(Code)



createEvent
AWTEvent createEvent(long when, int modifiers)(Code)



deleteShortcut
public void deleteShortcut()(Code)



disable
public void disable()(Code)



disableEvents
final protected void disableEvents(long eventsToDisable)(Code)



enable
public void enable(boolean b)(Code)



enable
public void enable()(Code)



enableEvents
final protected void enableEvents(long eventsToEnable)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)



getActionCommand
public String getActionCommand()(Code)



getActionListeners
public ActionListener[] getActionListeners()(Code)



getLabel
public String getLabel()(Code)



getListeners
public T[] getListeners(Class<T> listenerType)(Code)



getShortcut
public MenuShortcut getShortcut()(Code)



isEnabled
public boolean isEnabled()(Code)



itemSelected
void itemSelected(long when, int modifiers)(Code)



paramString
public String paramString()(Code)



processActionEvent
protected void processActionEvent(ActionEvent event)(Code)



processEvent
protected void processEvent(AWTEvent event)(Code)



removeActionListener
public void removeActionListener(ActionListener listener)(Code)



setActionCommand
public void setActionCommand(String command)(Code)



setEnabled
public void setEnabled(boolean enabled)(Code)



setLabel
public void setLabel(String label)(Code)



setShortcut
public void setShortcut(MenuShortcut shortcut)(Code)



Fields inherited from java.awt.MenuComponent
boolean deprecatedEventHandler(Code)(Java Doc)
MenuContainer parent(Code)(Java Doc)
final Toolkit toolkit(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.