|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Component | getComponent()
|
MenuElement[] | getSubElements()
This method should return an array containing the sub-elements for the receiving menu element |
void | menuSelectionChanged(boolean isIncluded)
Call by the MenuSelection when the MenuElement is added or remove from the menu selection. |
void | processKeyEvent(KeyEvent event,
MenuElement[] path,
MenuSelectionManager manager)
Process a key event. |
void | processMouseEvent(MouseEvent event,
MenuElement[] path,
MenuSelectionManager manager)
Process a mouse event. event is a MouseEvent with source being the receiving element's component. path is the path of the receiving element in the menu hierarchy including the receiving element itself. manager is the MenuSelectionManager for the menu hierarchy. |
Method Detail |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)
public void menuSelectionChanged(boolean isIncluded)
public MenuElement[] getSubElements()
public Component getComponent()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |