|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.tools.Events.PointEvent
public class PointEvent
PointEvent is used to notify a selection of a point with the mouse.
| Constructor Summary | |
|---|---|
PointEvent(Point2D p,
MouseEvent e)
Creates a new PointEvent with all necessary data. |
|
PointEvent(Point2D p,
MouseEvent e,
MapControl mapControl)
|
|
| Method Summary | |
|---|---|
MouseEvent |
getEvent()
Gets the event that has been the cause of creating this one. |
org.gvsig.fmap.geom.primitive.Point |
getMapPoint()
Gets the Geometry point 2D in map coordinates where this event was produced. |
Point2D |
getPoint()
Gets the point 2D in screen coordinates where this event was produced. |
void |
setPoint(Point2D p)
Sets the point 2D where this event was produced. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointEvent(Point2D p,
MouseEvent e)
Creates a new PointEvent with all necessary data.
p - the point 2D associated to this evente - event that has been the cause of creating this one
public PointEvent(Point2D p,
MouseEvent e,
MapControl mapControl)
| Method Detail |
|---|
public Point2D getPoint()
Gets the point 2D in screen coordinates where this event was produced.
public org.gvsig.fmap.geom.primitive.Point getMapPoint()
public void setPoint(Point2D p)
Sets the point 2D where this event was produced.
the - point 2D associated to this eventpublic 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 | |||||||||