API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. MenuElement View Source
Author(s)
Arnaud Weber
Since
Version
1.13 11/17/05
Serial
Hierarchy
 MenuElement
Subinterfaces
Description
public interface MenuElement
  Any component that can be placed into a menu should implement this interface.
See also:   
Methods
Hide/Show inherited methods
public Component getComponent ()
  This method should return the java.awt.Component used to paint the receiving element.
public MenuElement getSubElements ()
  This method should return an array containing the sub-elements for the receiving menu element
public void menuSelectionChanged (boolean isIncluded)
Call by the MenuSelectionManager when the MenuElement is added or remove from the menu selection.
public void processKeyEvent (KeyEvent event, MenuElement path, MenuSelectionManager manager)
Process a key event.
public void processMouseEvent (MouseEvent event, MenuElement path, MenuSelectionManager manager)
  Processes a mouse event.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar