|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.swing.event.MapMouseAdapter
org.geotools.swing.tool.CursorTool
public abstract class CursorTool
The base class for map pane cursor tools. Simply adds a getCursor method to the MapToolAdapter
Constructor Summary | |
---|---|
CursorTool()
|
Method Summary | |
---|---|
boolean |
drawDragBox()
Query if the tool is one that draws a box on the map display when the mouse is being dragged (eg. |
java.awt.Cursor |
getCursor()
Get the cursor for this tool. |
JMapPane |
getMapPane()
Get the map pane that this tool is servicing |
void |
setMapPane(JMapPane pane)
Set the map pane that this cursor tool is associated with |
Methods inherited from class org.geotools.swing.event.MapMouseAdapter |
---|
onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onMouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CursorTool()
Method Detail |
---|
public void setMapPane(JMapPane pane)
pane
- the map pane
java.lang.IllegalArgumentException
- if mapPane is nullpublic JMapPane getMapPane()
public java.awt.Cursor getCursor()
public boolean drawDragBox()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |