Class JVMHealthTreeTableMouseListener
java.lang.Object
java.awt.event.MouseAdapter
org.jppf.ui.monitoring.node.AbstractTopologyMouseListener
org.jppf.ui.monitoring.diagnostics.JVMHealthTreeTableMouseListener
- All Implemented Interfaces:
MouseListener,MouseMotionListener,MouseWheelListener,EventListener
Mouse listener for the JVM health panel.
Processes right-click events to display popup menus.
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.ui.monitoring.node.AbstractTopologyMouseListener
actionHandler, CANCEL_ICON, data, EMPTY_TOPOLOGY_DATA_ARRAY, RESTART_ICON -
Constructor Summary
ConstructorsConstructorDescriptionJVMHealthTreeTableMouseListener(JTreeTableActionHandler actionHandler) Initialize this mouse listener. -
Method Summary
Modifier and TypeMethodDescriptionprotected JPopupMenucreatePopupMenu(MouseEvent event) Create the popup menu.Methods inherited from class org.jppf.ui.monitoring.node.AbstractTopologyMouseListener
addItem, mousePressedMethods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
-
Constructor Details
-
JVMHealthTreeTableMouseListener
Initialize this mouse listener.- Parameters:
actionHandler- the object that handles toolbar and menu actions.
-
-
Method Details
-
createPopupMenu
Description copied from class:AbstractTopologyMouseListenerCreate the popup menu.- Specified by:
createPopupMenuin classAbstractTopologyMouseListener- Parameters:
event- the mouse event to process.- Returns:
- a
JPopupMenuinstance.
-