Package docking
Class PopupMenuHandler
- java.lang.Object
-
- docking.menu.MenuHandler
-
- docking.PopupMenuHandler
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.MenuListener
,javax.swing.event.PopupMenuListener
public class PopupMenuHandler extends MenuHandler
-
-
Constructor Summary
Constructors Constructor Description PopupMenuHandler(DockingWindowManager windowManager, ActionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
menuItemEntered(DockingActionIf action)
Invoked when the mouse highlights a menu item.void
menuItemExited(DockingActionIf action)
Invoked when the mouse exits a menu item.void
processMenuAction(DockingActionIf action, java.awt.event.ActionEvent event)
Invoked when a menu action item is selected.-
Methods inherited from class docking.menu.MenuHandler
menuCanceled, menuDeselected, menuSelected, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible
-
-
-
-
Constructor Detail
-
PopupMenuHandler
public PopupMenuHandler(DockingWindowManager windowManager, ActionContext context)
-
-
Method Detail
-
menuItemEntered
public void menuItemEntered(DockingActionIf action)
Description copied from class:MenuHandler
Invoked when the mouse highlights a menu item.- Overrides:
menuItemEntered
in classMenuHandler
- Parameters:
action
- associated action.
-
menuItemExited
public void menuItemExited(DockingActionIf action)
Description copied from class:MenuHandler
Invoked when the mouse exits a menu item.- Overrides:
menuItemExited
in classMenuHandler
- Parameters:
action
- associated action.
-
processMenuAction
public void processMenuAction(DockingActionIf action, java.awt.event.ActionEvent event)
Description copied from class:MenuHandler
Invoked when a menu action item is selected.- Overrides:
processMenuAction
in classMenuHandler
- Parameters:
action
- associated action.event
- event details.
-
-