|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MenuHandler
Menu handler interface.
| Nested Class Summary | |
|---|---|
static class |
MenuHandler.Adapter
Menu handler adapter. |
| Method Summary | |
|---|---|
void |
cleanupMenuBar(Component component,
MenuBar menuBar)
Called when a component to which this handler is attached loses the focus. |
boolean |
configureContextMenu(Component component,
Menu menu,
int x,
int y)
Called when the user right-clicks on a component to which this handler is attached. |
void |
configureMenuBar(Component component,
MenuBar menuBar)
Called when a component to which this handler is attached gains the focus. |
| Method Detail |
|---|
void configureMenuBar(Component component,
MenuBar menuBar)
component - menuBar -
void cleanupMenuBar(Component component,
MenuBar menuBar)
component - menuBar -
boolean configureContextMenu(Component component,
Menu menu,
int x,
int y)
component - menu - x - y -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||