Class AbstractDrawTool
java.lang.Object
org.locationtech.jtstest.testbuilder.ui.tools.BasicTool
org.locationtech.jtstest.testbuilder.ui.tools.IndicatorTool
org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
org.locationtech.jtstest.testbuilder.ui.tools.AbstractDrawTool
- All Implemented Interfaces:
KeyListener
,MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,Tool
- Direct Known Subclasses:
PointTool
,PolygonTool
- Version:
- 1.7
-
Field Summary
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
tentativeCoordinate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected abstract int
void
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
add, finishGesture, getCoordinates, getShape, isFinishingRelease, lastCoordinate, mouseDragged, mouseLocationChanged, mouseMoved, mousePressed, mouseReleased, setClickCountToFinishGesture, setCloseRing, setDrawBandLines, toArray
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.tools.IndicatorTool
clearIndicator, isIndicatorVisible, redrawIndicator
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.tools.BasicTool
activate, deactivate, geomModel, getCursor, getGraphics2D, gridSize, keyPressed, keyReleased, keyTyped, mouseEntered, mouseExited, mouseWheelMoved, panel, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid
-
Constructor Details
-
AbstractDrawTool
protected AbstractDrawTool()
-
-
Method Details
-
getGeometryType
protected abstract int getGeometryType() -
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classBasicTool
-
bandFinished
- Specified by:
bandFinished
in classLineBandTool
- Throws:
Exception
-