Class MoveEvent
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.Events.MoveEvent
MoveEvent is used to notify a movement of the mouse between two points 2D.
- Author:
- Vicente Caballero Navarro
-
Constructor Summary
ConstructorsConstructorDescriptionMoveEvent(Point2D from, Point2D to, MouseEvent e) Creates a newMoveEventwith all necessary data. -
Method Summary
-
Constructor Details
-
MoveEvent
Creates a new
MoveEventwith all necessary data.- Parameters:
from- initial 2D position of the movementto- final 2D position of the movemente- mouse event that has been the cause of creating this one
-
-
Method Details
-
getFrom
Gets the initial 2D position of the movement.
- Returns:
- initial 2D position of the movement
-
getTo
Gets the final 2D position of the movement.
- Returns:
- final 2D position of the movement
-
getEvent
Gets the event that has been the cause of creating this one.
- Returns:
- mouse event that has been the cause of creating this one
-