public class MapOverviewListener
extends java.lang.Object
implements org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener
Listener for changes of the zoom caused by selecting a point on the associated MapOverview object
by a single click of the button 1 of the mouse.
Updates the extent of its ViewPort with a zoom out operation, and enables/disables controls for
managing the data.
ViewPort| Modifier and Type | Field and Description |
|---|---|
protected MapOverview |
mapControl
Reference to the
MapControl object that uses. |
| Constructor and Description |
|---|
MapOverviewListener(MapOverview mapControl)
Creates a new listener for zooming out the extent of the associated
MapOverview object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelDrawing() |
java.awt.Image |
getImageCursor() |
void |
point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) |
void |
pointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) |
protected MapOverview mapControl
MapControl object that uses.public MapOverviewListener(MapOverview mapControl)
Creates a new listener for zooming out 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 point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
point in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PointListenerpublic void pointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
pointDoubleClick in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PointListenerorg.gvsig.fmap.mapcontrol.tools.BehaviorExceptionCopyright © 2026 gvSIG Association. All rights reserved.