public interface MenuDetectListener extends EventListener
After creating an instance of a class that implements this interface it can be added to a control or TrayItem using
the addMenuDetectListener
method and removed using the removeMenuDetectListener
method.
When the context menu trigger occurs, the menuDetected
method will be invoked.
MenuDetectEvent
Modifier and Type | Method and Description |
---|---|
void |
menuDetected(MenuDetectEvent e)
Sent when the platform-dependent trigger for showing a menu item is detected.
|
void menuDetected(MenuDetectEvent e)
e
- an event containing information about the menu detectCopyright © 2005–2015 Sonatype, Inc.. All rights reserved.