|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.event.PointEvent
Utility class to encapsulate mouse events, used to send info between behavior classes and tool listeners.
PointBehavior
,
PointToolListener
Constructor Summary | |
PointEvent(java.awt.Point p,
java.awt.event.MouseEvent e)
Constructor. |
Method Summary | |
java.awt.event.MouseEvent |
getEvent()
Gets the original mouse event. |
java.awt.Point |
getPoint()
gets the point (screen coordinates) of the pixel where the point event happened. |
void |
setPoint(java.awt.Point p)
Sets the point (screen coordinates) of the pixel where the point event happened |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PointEvent(java.awt.Point p, java.awt.event.MouseEvent e)
p
- the point on which the user has clickede
- the original java mouse event.Method Detail |
public java.awt.Point getPoint()
public void setPoint(java.awt.Point p)
p
- the point (screen coordinates) of the pixel where the point event
happenedpublic java.awt.event.MouseEvent getEvent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |