|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.listener.PanListener
This listener is associated with the pan tool. It will repaint the map after every mouse drag event, using a frozen image, not refreshing the map truly. When the mouse is lifted, the extent will be updated.
RectangleBehavior
,
PanRefreshTimerTask
Constructor Summary | |
PanListener(MapControl _mc)
Constructor. |
Method Summary | |
boolean |
cancelDrawing()
This method asks the listener to cancel the current drawing process (currently unsued) |
java.awt.Cursor |
getCursor()
Gets the cursor that should be used while this tool is active. |
void |
point(PointEvent pevent)
This method will be called on every point event. |
void |
setMapControl(MapControl _mc)
Sets the MapControl object that will be updated by
this listener. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PanListener(MapControl _mc)
_mc
- the MapControl
needed to perform repaint requests
and reset the extent.Method Detail |
public void point(PointEvent pevent)
point
in interface PointToolListener
pevent
- the point eventpublic java.awt.Cursor getCursor()
getCursor
in interface ToolListener
public boolean cancelDrawing()
cancelDrawing
in interface ToolListener
public void setMapControl(MapControl _mc)
MapControl
object that will be updated by
this listener.
setMapControl
in interface ToolListener
_mc
- the MapControl
object to be used by this listener.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |