org.apache.pivot.wtk
Class MenuPopupStateListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.MenuPopupStateListener.Adapter
All Implemented Interfaces:
MenuPopupStateListener
Enclosing interface:
MenuPopupStateListener

public static class MenuPopupStateListener.Adapter
extends Object
implements MenuPopupStateListener

Menu popup state listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.MenuPopupStateListener
MenuPopupStateListener.Adapter
 
Constructor Summary
MenuPopupStateListener.Adapter()
           
 
Method Summary
 void menuPopupClosed(MenuPopup menuPopup)
          Called when a menu popup has closed.
 void menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
          Called when a menu popup close event has been vetoed.
 Vote previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
          Called to preview a menu popup close event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuPopupStateListener.Adapter

public MenuPopupStateListener.Adapter()
Method Detail

previewMenuPopupClose

public Vote previewMenuPopupClose(MenuPopup menuPopup,
                                  boolean immediate)
Description copied from interface: MenuPopupStateListener
Called to preview a menu popup close event.

Specified by:
previewMenuPopupClose in interface MenuPopupStateListener

menuPopupCloseVetoed

public void menuPopupCloseVetoed(MenuPopup menuPopup,
                                 Vote reason)
Description copied from interface: MenuPopupStateListener
Called when a menu popup close event has been vetoed.

Specified by:
menuPopupCloseVetoed in interface MenuPopupStateListener

menuPopupClosed

public void menuPopupClosed(MenuPopup menuPopup)
Description copied from interface: MenuPopupStateListener
Called when a menu popup has closed.

Specified by:
menuPopupClosed in interface MenuPopupStateListener