KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > JMenuItem

javax.swing
Class JMenuItem

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.AbstractButton
                  extended by javax.swing.JMenuItem
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, MenuElement, SwingConstants
Direct Known Subclasses:
JCheckBoxMenuItem, JMenu, JRadioButtonMenuItem
See Also:
Top Examples, Source Code, XMLEncoder, JPopupMenu

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


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


protected void configurePropertiesFromAction(Action a)
See Also:
AbstractButton
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected PropertyChangeListener createActionPropertyChangeListener(Action a)
See Also:
AbstractButton
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuDragMouseDragged(MenuDragMouseEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuDragMouseEntered(MenuDragMouseEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuDragMouseExited(MenuDragMouseEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuDragMouseReleased(MenuDragMouseEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuKeyPressed(MenuKeyEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuKeyReleased(MenuKeyEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireMenuKeyTyped(MenuKeyEvent event)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public Component getComponent()
See Also:
MenuElement
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuDragMouseListener[] getMenuDragMouseListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuKeyListener[] getMenuKeyListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuElement[] getSubElements()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void init(String text,
                    Icon icon)
See Also:
AbstractButton
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public JMenuItem(String text)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenuItem(String text,
                 int mnemonic)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenuItem(String text,
                 Icon icon)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenuItem(Action a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenuItem(Icon icon)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void menuSelectionChanged(boolean isIncluded)
See Also:
MenuSelectionManager.setSelectedPath(MenuElement[]), MenuElement
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public void processKeyEvent(KeyEvent e,
                            MenuElement[] path,
                            MenuSelectionManager manager)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public void processMouseEvent(MouseEvent e,
                              MenuElement[] path,
                              MenuSelectionManager manager)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


public void setUI(MenuItemUI ui)
See Also:
UIDefaults.getUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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

Popular Tags