|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.tools.SelectImageListenerImpl
public class SelectImageListenerImpl
Listener to select the upper layer with raster data, that has information in the associated MapControl object, down
the position selected by the mouse.
| Field Summary | |
|---|---|
protected MapControl |
mapCtrl
Deprecated. Reference to the MapControl object that uses. |
protected Point2D |
wcPoint
Deprecated. World equivalent coordinates of the point 2D |
| Constructor Summary | |
|---|---|
SelectImageListenerImpl(MapControl mapCtrl)
Deprecated. Creates a new SelectImageListenerImpl object. |
|
| Method Summary | |
|---|---|
boolean |
cancelDrawing()
Deprecated. Determines if the drawing process that this tool executes on the MapControl
instance could be canceled or not. |
Image |
getImageCursor()
Deprecated. Gets the Cursor associated to this tool. |
void |
point(PointEvent event)
Deprecated. Called when one click is pressed on the associated MapControl, or the location of the cursor
of the mouse has changed on it. |
void |
pointDoubleClick(PointEvent event)
Deprecated. Called when a double click is pressed on the associated MapControl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MapControl mapCtrl
MapControl object that uses.
protected Point2D wcPoint
| Constructor Detail |
|---|
public SelectImageListenerImpl(MapControl mapCtrl)
Creates a new SelectImageListenerImpl object.
mapCtrl - the MapControl where are stored the layers| Method Detail |
|---|
public void point(PointEvent event)
PointListenerCalled when one click is pressed on the associated MapControl, or the location of the cursor
of the mouse has changed on it.
point in interface PointListenerevent - mouse event with the coordinates of the point selected on the associated MapControlpublic Image getImageCursor()
ToolListenerGets the Cursor associated to this tool.
getImageCursor in interface ToolListenerpublic 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)
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 MapControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||