java.lang.Object
org.autogui.swing.util.PopupExtension.PopupCancelChecker
- All Implemented Interfaces:
EventListener
,PopupMenuListener
- Enclosing class:
PopupExtension
improve default behavior of showing popup menu: clicking a menu button while the menu is visible can hide it
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
void
-
Field Details
-
lastCancelTime
-
limit
-
-
Constructor Details
-
PopupCancelChecker
public PopupCancelChecker()
-
-
Method Details
-
popupMenuWillBecomeVisible
- Specified by:
popupMenuWillBecomeVisible
in interfacePopupMenuListener
-
popupMenuWillBecomeInvisible
- Specified by:
popupMenuWillBecomeInvisible
in interfacePopupMenuListener
-
popupMenuCanceled
- Specified by:
popupMenuCanceled
in interfacePopupMenuListener
-
isReusable
public boolean isReusable() -
isValidMenuOpen
public boolean isValidMenuOpen()
-