anl.aida.plot
Class MapToolTipper
java.lang.Object
edu.umd.cs.piccolo.event.PBasicInputEventHandler
anl.aida.plot.MapToolTipper
- All Implemented Interfaces:
- edu.umd.cs.piccolo.event.PInputEventListener, java.awt.event.MouseMotionListener, java.util.EventListener
public class MapToolTipper
- extends edu.umd.cs.piccolo.event.PBasicInputEventHandler
- implements java.awt.event.MouseMotionListener
Displays tooltip over a map.
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
finder
private FeaturePropertyFinder finder
frame
private anl.aida.data.DataFrame frame
timeIndex
private int timeIndex
mpX
private float mpX
mpY
private float mpY
camera
private edu.umd.cs.piccolo.PCamera camera
canvas
private edu.umd.cs.piccolo.PCanvas canvas
font
private java.awt.Font font
text
private edu.umd.cs.piccolo.nodes.PText text
path
private edu.umd.cs.piccolo.nodes.PPath path
added
private boolean added
format
private java.text.SimpleDateFormat format
MapToolTipper
public MapToolTipper(anl.aida.data.DataFrame frame,
FeaturePropertyFinder finder,
edu.umd.cs.piccolo.PCanvas canvas)
- Parameters:
finder
- frame
-
showTip
public void showTip(java.lang.String ttext)
removeTip
public void removeTip()
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interface java.awt.event.MouseMotionListener
setTimeStepIndex
public void setTimeStepIndex(int index)
mousePressed
public void mousePressed(edu.umd.cs.piccolo.event.PInputEvent event)
- Overrides:
mousePressed
in class edu.umd.cs.piccolo.event.PBasicInputEventHandler