Package org.apache.pivot.wtk
Class MenuPopupStateListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.MenuPopupStateListener.Adapter
-
- All Implemented Interfaces:
MenuPopupStateListener
- Enclosing interface:
- MenuPopupStateListener
@Deprecated public static class MenuPopupStateListener.Adapter extends java.lang.Object implements MenuPopupStateListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Menu popup state listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.MenuPopupStateListener
MenuPopupStateListener.Adapter, MenuPopupStateListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
menuPopupClosed(MenuPopup menuPopup)
Deprecated.Called when a menu popup has closed.void
menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
Deprecated.Called when a menu popup close event has been vetoed.Vote
previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
Deprecated.Called to preview a menu popup close event.
-
-
-
Method Detail
-
previewMenuPopupClose
public Vote previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
Deprecated.Description copied from interface:MenuPopupStateListener
Called to preview a menu popup close event.- Specified by:
previewMenuPopupClose
in interfaceMenuPopupStateListener
- Parameters:
menuPopup
- The source of the event.immediate
- Whether the close is meant to be immediate.- Returns:
- The verdict as to whether to close from this listener.
-
menuPopupCloseVetoed
public void menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
Deprecated.Description copied from interface:MenuPopupStateListener
Called when a menu popup close event has been vetoed.- Specified by:
menuPopupCloseVetoed
in interfaceMenuPopupStateListener
- Parameters:
menuPopup
- The source of the event.reason
- The accumulated vote that caused the veto.
-
menuPopupClosed
public void menuPopupClosed(MenuPopup menuPopup)
Deprecated.Description copied from interface:MenuPopupStateListener
Called when a menu popup has closed.- Specified by:
menuPopupClosed
in interfaceMenuPopupStateListener
- Parameters:
menuPopup
- The menu popup that closed.
-
-