org.hisee.graphics
Class MouseEventHandler
java.lang.Object
|
+--edu.umd.cs.piccolo.event.PBasicInputEventHandler
|
+--edu.umd.cs.piccolo.event.PDragSequenceEventHandler
|
+--org.hisee.graphics.MouseEventHandler
- All Implemented Interfaces:
- java.util.EventListener, edu.umd.cs.piccolo.event.PInputEventListener
- public class MouseEventHandler
- extends edu.umd.cs.piccolo.event.PDragSequenceEventHandler
MouseEventHandler handles mouse events, which in HiSee are relatively limited. In addition to
panning and zooming the dataset (which is handled separately by Piccolo, and not this class), users may
click on datapoints to print out their coordinates.
Method Summary |
void |
mouseDragged(edu.umd.cs.piccolo.event.PInputEvent event)
|
void |
mouseMoved(edu.umd.cs.piccolo.event.PInputEvent event)
|
void |
mousePressed(edu.umd.cs.piccolo.event.PInputEvent e)
|
void |
updateToolTip(edu.umd.cs.piccolo.event.PInputEvent event)
|
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler |
drag, dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, endDrag, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseReleased, paramString, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDrag, startDragActivity, stopDragActivity |
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
acceptsEvent, getEventFilter, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MouseEventHandler
public MouseEventHandler(GaugePanel gauge)
mousePressed
public void mousePressed(edu.umd.cs.piccolo.event.PInputEvent e)
- Overrides:
mousePressed
in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
mouseMoved
public void mouseMoved(edu.umd.cs.piccolo.event.PInputEvent event)
- Overrides:
mouseMoved
in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
mouseDragged
public void mouseDragged(edu.umd.cs.piccolo.event.PInputEvent event)
- Overrides:
mouseDragged
in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
updateToolTip
public void updateToolTip(edu.umd.cs.piccolo.event.PInputEvent event)
for more information see hisee.sourceforge.net