|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.behavior.Behavior
es.prodevelop.gvsig.mobile.gui.tool.behavior.PointBehavior
This behavior class notifies point events only, si it's useful for point-oriented tools (centter on point, info, etc.)
PointToolListener
Constructor Summary | |
PointBehavior(PointToolListener l)
Constructor. |
Method Summary | |
java.awt.Cursor |
getCursor()
Overriden method, in case the listener needs to set another cursor while its tool is active. |
PointToolListener |
getListener()
Gets the current listener, which will be notified when point events occur. |
void |
mouseDragged(java.awt.event.MouseEvent e)
This behavior class creates a relevant event for point events and notifies the current listener. |
void |
mousePressed(java.awt.event.MouseEvent e)
This behavior class creates a relevant event for point events and notifies the current listener. |
void |
mouseReleased(java.awt.event.MouseEvent e)
This behavior class creates a relevant event for point events and notifies the current listener. |
Methods inherited from class es.prodevelop.gvsig.mobile.gui.tool.behavior.Behavior |
mouseClicked, mouseEntered, mouseExited, mouseMoved |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PointBehavior(PointToolListener l)
l
- the listener, which will be notified when point events occur.Method Detail |
public PointToolListener getListener()
public java.awt.Cursor getCursor()
getCursor
in class Behavior
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class Behavior
e
- the mouse event generated by the user on the mappublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class Behavior
e
- the mouse event generated by the user on the mappublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class Behavior
e
- the mouse event generated by the user on the map
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |