javax.swing

Interface MenuElement

public interface MenuElement

Defines the methods that any menu element in a {@link JMenu} must implement.
Method Summary
ComponentgetComponent()
getComponent
MenuElement[]getSubElements()
getSubElements
voidmenuSelectionChanged(boolean included)
menuSelectionChanged
voidprocessKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)
processKeyEvent
voidprocessMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
processMouseEvent

Method Detail

getComponent

public Component getComponent()
getComponent

UNKNOWN: Component

getSubElements

public MenuElement[] getSubElements()
getSubElements

UNKNOWN: MenuElement[]

menuSelectionChanged

public void menuSelectionChanged(boolean included)
menuSelectionChanged

Parameters: included TODO

processKeyEvent

public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)
processKeyEvent

Parameters: event TODO path TODO manager TODO

processMouseEvent

public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
processMouseEvent

Parameters: event TODO path TODO manager TODO