Class AbstractStreamDrawTool
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.AbstractStreamDrawTool
- All Implemented Interfaces:
KeyListener
,MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,Tool
- Direct Known Subclasses:
LineStringTool
,StreamPolygonTool
- 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
protected void
void
private void
private void
setType()
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
add, finishGesture, getCoordinates, getShape, isFinishingRelease, lastCoordinate, mouseDragged, mouseMoved, 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, getModelSnapTolerance, gridSize, keyPressed, keyReleased, keyTyped, mouseEntered, mouseExited, mouseWheelMoved, panel, toModel, toModel, toModelCoordinate, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid, toView, toView
-
Constructor Details
-
AbstractStreamDrawTool
protected AbstractStreamDrawTool()
-
-
Method Details
-
getGeometryType
protected abstract int getGeometryType() -
mouseLocationChanged
- Overrides:
mouseLocationChanged
in classLineBandTool
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classLineBandTool
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classBasicTool
-
bandFinished
- Specified by:
bandFinished
in classLineBandTool
- Throws:
Exception
-
setType
private void setType() -
setBandType
private void setBandType()
-