Class GridLocationToolTip
java.lang.Object
org.piccolo2d.event.PBasicInputEventHandler
repast.simphony.visualization.editor.GridLocationToolTip
- All Implemented Interfaces:
EventListener,org.piccolo2d.event.PInputEventListener,PEditorEventListener
public class GridLocationToolTip
extends org.piccolo2d.event.PBasicInputEventHandler
implements PEditorEventListener
Deprecated.
2D piccolo based code is being removed
Displays a tooltip specifying the current grid location.
- Author:
- Nick Collier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated.Cleans up anything created by this listener in init.voidinit()Deprecated.Initializes this listener.voidmouseDragged(org.piccolo2d.event.PInputEvent evt) Deprecated.voidmouseEntered(org.piccolo2d.event.PInputEvent evt) Deprecated.voidmouseExited(org.piccolo2d.event.PInputEvent evt) Deprecated.voidmouseMoved(org.piccolo2d.event.PInputEvent evt) Deprecated.voidstart()Deprecated.Starts the listener.voidstop()Deprecated.Stops the listener.voidupdateToolTip(org.piccolo2d.event.PInputEvent event) Deprecated.Methods inherited from class org.piccolo2d.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mousePressed, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.piccolo2d.event.PInputEventListener
processEvent
-
Constructor Details
-
GridLocationToolTip
public GridLocationToolTip(org.piccolo2d.PCamera camera) Deprecated.
-
-
Method Details
-
init
public void init()Deprecated.Description copied from interface:PEditorEventListenerInitializes this listener. This happens only once whereas start / stop may occur multiple times.- Specified by:
initin interfacePEditorEventListener
-
destroy
public void destroy()Deprecated.Description copied from interface:PEditorEventListenerCleans up anything created by this listener in init. This happens only once whereas start / stop may occur multiple times.- Specified by:
destroyin interfacePEditorEventListener
-
start
public void start()Deprecated.Starts the listener. At the very least this should add the listener to whatever PNode it is listening on.- Specified by:
startin interfacePEditorEventListener
-
stop
public void stop()Deprecated.Stops the listener. At the very least this should remove the listener to whatever PNode it is listening on.- Specified by:
stopin interfacePEditorEventListener
-
mouseEntered
public void mouseEntered(org.piccolo2d.event.PInputEvent evt) Deprecated.- Overrides:
mouseEnteredin classorg.piccolo2d.event.PBasicInputEventHandler
-
mouseExited
public void mouseExited(org.piccolo2d.event.PInputEvent evt) Deprecated.- Overrides:
mouseExitedin classorg.piccolo2d.event.PBasicInputEventHandler
-
mouseMoved
public void mouseMoved(org.piccolo2d.event.PInputEvent evt) Deprecated.- Overrides:
mouseMovedin classorg.piccolo2d.event.PBasicInputEventHandler
-
mouseDragged
public void mouseDragged(org.piccolo2d.event.PInputEvent evt) Deprecated.- Overrides:
mouseDraggedin classorg.piccolo2d.event.PBasicInputEventHandler
-
updateToolTip
public void updateToolTip(org.piccolo2d.event.PInputEvent event) Deprecated.
-