Class InfoListener
java.lang.Object
org.gvsig.app.project.documents.view.toolListeners.InfoListener
- All Implemented Interfaces:
org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener,org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
public class InfoListener
extends Object
implements org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener
Listener that looks for information at the point selected by one
click of any mouse's button, in the active layers of the associated
MapControl, and displays that data on a FInfoDialog dialog.- Author:
- -2009 Vicente Caballero Navarro, 2009- gvSIG Team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionInfoListener(org.gvsig.fmap.mapcontrol.MapControl mc) Creates a newInfoListenerobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic voidvoidpoint(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) voidpointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
-
Constructor Details
-
InfoListener
public InfoListener(org.gvsig.fmap.mapcontrol.MapControl mc) Creates a new
InfoListenerobject.- Parameters:
mc- theMapControlwhere will be applied the changes
-
-
Method Details
-
initializeExtensionPoint
public static void initializeExtensionPoint() -
point
public void point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException - Specified by:
pointin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PointListener- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException
-
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
-