org.jppf.ui.options.xml
Class DebugMouseListener
java.lang.Object
java.awt.event.MouseAdapter
org.jppf.ui.options.xml.DebugMouseListener
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, MouseWheelListener, EventListener
public class DebugMouseListener
- extends MouseAdapter
Mouse listener for debug use. Shows a popup menu on the top container of options loaded through an "import" tag in the XML descriptor.
The menu provides one option to reload the page.
- Author:
- laurentcohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugMouseListener
public DebugMouseListener(OptionElement option,
String source,
String location)
- Parameters:
option - - the option to debug.source - - determines whether the XML is loaded from a url or file location.location - - where to load the xml descriptor from.
mousePressed
public void mousePressed(MouseEvent event)
- Processes right-click events to display popup menus.
- Specified by:
mousePressed in interface MouseListener- Overrides:
mousePressed in class MouseAdapter
- Parameters:
event - - the mouse event to process.- See Also:
MouseListener.mousePressed(java.awt.event.MouseEvent)
Copyright © 2005-2010 JPPF Team.