KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > MenuItem

java.awt
Class MenuItem

java.lang.Object
  extended by java.awt.MenuComponent
      extended by java.awt.MenuItem
All Implemented Interfaces:
Serializable, Accessible
Direct Known Subclasses:
CheckboxMenuItem, Menu
See Also:
Top Examples, Source Code

public void addActionListener(ActionListener l)
See Also:
ActionEvent, getActionListeners(), removeActionListener(java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addNotify()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void deleteShortcut()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void disable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void disableEvents(long eventsToDisable)
See Also:
enableEvents(long), processEvent(java.awt.AWTEvent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void enable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void enable(boolean b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void enableEvents(long eventsToEnable)
See Also:
disableEvents(long), processEvent(java.awt.AWTEvent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
MenuComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getActionCommand()
See Also:
setActionCommand(java.lang.String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ActionListener[] getActionListeners()
See Also:
ActionEvent, removeActionListener(java.awt.event.ActionListener), addActionListener(java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getLabel()
See Also:
setLabel(java.lang.String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getActionListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuShortcut getShortcut()
See Also:
setShortcut(java.awt.MenuShortcut)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isEnabled()
See Also:
setEnabled(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuItem()
         throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuItem(String label)
         throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuItem(String label,
                MenuShortcut s)
         throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String paramString()
See Also:
MenuComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processActionEvent(ActionEvent e)
See Also:
enableEvents(long), ActionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processEvent(AWTEvent e)
See Also:
processActionEvent(java.awt.event.ActionEvent), MenuComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeActionListener(ActionListener l)
See Also:
ActionEvent, getActionListeners(), addActionListener(java.awt.event.ActionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setActionCommand(String command)
See Also:
getActionCommand()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setEnabled(boolean b)
See Also:
isEnabled()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLabel(String label)
See Also:
getLabel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setShortcut(MenuShortcut s)
See Also:
getShortcut()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags