public class ZoomPixelCursorListener extends java.lang.Object implements PointListener
| Constructor and Description |
|---|
ZoomPixelCursorListener(MapControl mc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelDrawing()
Determines if the drawing process that this tool executes on the
MapControl
instance could be canceled or not. |
java.awt.Cursor |
getCursor() |
java.awt.Image |
getImageCursor()
Gets the
Cursor associated to this tool. |
void |
point(PointEvent event)
Evento de selección de punto sobre la vista.
|
void |
pointDoubleClick(PointEvent event)
Called when a double click is pressed on the associated
MapControl. |
public ZoomPixelCursorListener(MapControl mc)
mc - public void point(PointEvent event) throws BehaviorException
point in interface PointListenerevent - mouse event with the coordinates of the point selected on the associated MapControlBehaviorException - will be thrown when fails the process of this toolpublic java.awt.Cursor getCursor()
com.iver.cit.gvsig.fmap.tools.Listeners.ToolListener#getCursor()public 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 falsepublic void pointDoubleClick(PointEvent event) throws BehaviorException
PointListenerCalled when a double click is pressed on the associated MapControl.
pointDoubleClick in interface PointListenerevent - mouse event and the coordinates of the point selected on the associated MapControlBehaviorException - will be thrown when fails the process of this toolpublic java.awt.Image getImageCursor()
ToolListenerGets the Cursor associated to this tool.
getImageCursor in interface ToolListener