|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.tools.Events.MoveEvent
public class MoveEvent
MoveEvent is used to notify a movement of the mouse between two points 2D.
| Constructor Summary | |
|---|---|
MoveEvent(Point2D from,
Point2D to,
MouseEvent e)
Creates a new MoveEvent with all necessary data. |
|
| Method Summary | |
|---|---|
MouseEvent |
getEvent()
Gets the event that has been the cause of creating this one. |
Point2D |
getFrom()
Gets the initial 2D position of the movement. |
Point2D |
getTo()
Gets the final 2D position of the movement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveEvent(Point2D from,
Point2D to,
MouseEvent e)
Creates a new MoveEvent with all necessary data.
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 Detail |
|---|
public Point2D getFrom()
Gets the initial 2D position of the movement.
public Point2D getTo()
Gets the final 2D position of the movement.
public MouseEvent getEvent()
Gets the event that has been the cause of creating this one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||