|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.listener.RectSelectionRectListener
This listener is associated with the select-by-rectangle tool. It will set as selected the feature(s) that intersect with the rectangle indicated by the user. Only one layer has to be checked as infobale in the TOC to perform this operation.
RectangleBehavior
,
FLyrVect
,
SelectionSupport
Constructor Summary | |
RectSelectionRectListener()
|
Method Summary | |
boolean |
cancelDrawing()
This method asks the listener to cancel the current drawing process (currently unsued) |
java.awt.Cursor |
getCursor()
Gets the cursor that should be used while this tool is active. |
void |
point(PointEvent event)
This method is called when a drag event happens. |
void |
rectangle(RectangleEvent event)
This method will be called when the user has performed a drag-and-drop on the map and the select-by-rectangle tool is active. |
void |
setMapControl(MapControl mc)
Sets the MapControl object that will be updated by
this listener. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RectSelectionRectListener()
Method Detail |
public void rectangle(RectangleEvent event)
rectangle
in interface RectangleToolListener
event
- the rectangle event that indicates the zone of interestpublic void point(PointEvent event)
point
in interface RectangleToolListener
event
- the point event that indicates a drag eventpublic java.awt.Cursor getCursor()
getCursor
in interface ToolListener
public boolean cancelDrawing()
cancelDrawing
in interface ToolListener
public void setMapControl(MapControl mc)
MapControl
object that will be updated by
this listener.
setMapControl
in interface ToolListener
mc
- the MapControl
object to be used by this listener.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |