de.matthiasmann.twl
Interface Menu.Listener

Enclosing class:
Menu

public static interface Menu.Listener


Method Summary
 void menuClosed(Menu menu)
          Called after a popup has been closed.
 void menuOpened(Menu menu)
          Called after a popup has been opened.
 void menuOpening(Menu menu)
          Called before a menu popup is created.
 

Method Detail

menuOpening

void menuOpening(Menu menu)
Called before a menu popup is created.

This is only called once until all open popups are closed.

When a menu is displayed as menu bar then no events are fired.

Parameters:
menu - the Menu which for which a popup will be opened

menuOpened

void menuOpened(Menu menu)
Called after a popup has been opened.

When a menu is displayed as menu bar then no events are fired.

Parameters:
menu - the Menu which has been opened
See Also:
menuOpening(de.matthiasmann.twl.Menu)

menuClosed

void menuClosed(Menu menu)
Called after a popup has been closed.

When a menu is displayed as menu bar then no events are fired.

Parameters:
menu - the Menu which has been closed