public class MapOverviewPanListener
extends java.lang.Object
implements org.gvsig.fmap.mapcontrol.tools.Listeners.PanListener
Listener for moving the extent of the associated MapOverview 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.
| Modifier and Type | Field and Description |
|---|---|
protected org.gvsig.fmap.mapcontrol.MapControl |
mapControl
Reference to the
MapControl object that uses. |
| Constructor and Description |
|---|
MapOverviewPanListener(org.gvsig.fmap.mapcontrol.MapControl mapControl)
Creates a new listener for changing the position of the extent of the associated
MapOverview object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelDrawing() |
java.awt.Image |
getImageCursor() |
void |
move(org.gvsig.fmap.mapcontrol.tools.Events.MoveEvent event) |
protected org.gvsig.fmap.mapcontrol.MapControl mapControl
MapControl object that uses.public MapOverviewPanListener(org.gvsig.fmap.mapcontrol.MapControl mapControl)
Creates a new listener for changing the position of the extent of the associated MapOverview object.
mapControl - the MapControl object which represents the MapOverviewpublic boolean cancelDrawing()
cancelDrawing in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListenerpublic java.awt.Image getImageCursor()
getImageCursor in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListenerpublic void move(org.gvsig.fmap.mapcontrol.tools.Events.MoveEvent event)
throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
move in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PanListenerorg.gvsig.fmap.mapcontrol.tools.BehaviorExceptionCopyright © 2026 gvSIG Association. All rights reserved.