|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.tools.PanListenerImpl
public class PanListenerImpl
Listener for moving the extent of the associated MapControl object
according the movement between the initial and final points of line determined by the movement
dragging with the third button of the mouse.
Updates the extent of its ViewPort with the new position.
| Constructor Summary | |
|---|---|
PanListenerImpl(MapControl mapControl)
Creates a new listener for changing the position of the extent of the associated MapControl object. |
|
| Method Summary | |
|---|---|
boolean |
cancelDrawing()
Determines if the drawing process that this tool executes on the MapControl
instance could be canceled or not. |
Image |
getImageCursor()
Gets the Cursor associated to this tool. |
void |
move(MoveEvent event)
Called when user drags the mouse on the view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PanListenerImpl(MapControl mapControl)
Creates a new listener for changing the position of the extent of the associated MapControl object.
mapControl - the MapControl where will be applied the changes| Method Detail |
|---|
public void move(MoveEvent event)
PanListenerCalled when user drags the mouse on the view.
Updates the extent coordinates according to the direction of the movement between the initial and final points of line determined by the move of the mouse.
move in interface PanListenerevent - mouse event information about the initial and final positions of the movementpublic Image getImageCursor()
ToolListenerGets the Cursor associated to this tool.
getImageCursor in interface ToolListenerpublic boolean cancelDrawing()
ToolListenerDetermines if the drawing process that this tool executes on the MapControl
instance could be canceled or not.
cancelDrawing in interface ToolListenertrue if is cancellable; otherwise returns false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||