Class MapOverviewListener
java.lang.Object
org.gvsig.app.project.documents.view.toolListeners.MapOverviewListener
- All Implemented Interfaces:
org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener,org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
public class MapOverviewListener
extends 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.
- Author:
- Vicente Caballero Navarro
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MapOverviewReference to theMapControlobject that uses. -
Constructor Summary
ConstructorsConstructorDescriptionMapOverviewListener(MapOverview mapControl) Creates a new listener for zooming out the extent of the associatedMapOverviewobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidpoint(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) voidpointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
-
Field Details
-
mapControl
Reference to theMapControlobject that uses.
-
-
Constructor Details
-
MapOverviewListener
Creates a new listener for zooming out the extent of the associated
MapOverviewobject.- Parameters:
mapControl- theMapControlobject which represents theMapOverview
-
-
Method Details
-
point
public void point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) - Specified by:
pointin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PointListener
-
getImageCursor
- Specified by:
getImageCursorin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
-
cancelDrawing
public boolean cancelDrawing()- Specified by:
cancelDrawingin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
-
pointDoubleClick
public void pointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException - Specified by:
pointDoubleClickin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PointListener- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException
-