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
public abstract class AbstractStreamDrawTool extends LineBandTool
- Version:
- 1.7
-
-
Field Summary
-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
tentativeCoordinate
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStreamDrawTool()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
bandFinished()
protected abstract int
getGeometryType()
void
mouseClicked(MouseEvent e)
protected void
mouseLocationChanged(MouseEvent e)
void
mousePressed(MouseEvent e)
-
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, gridSize, keyPressed, keyReleased, keyTyped, mouseEntered, mouseExited, mouseWheelMoved, panel, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid
-
-
-
-
Method Detail
-
getGeometryType
protected abstract int getGeometryType()
-
mouseLocationChanged
protected void mouseLocationChanged(MouseEvent e)
- Overrides:
mouseLocationChanged
in classLineBandTool
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classLineBandTool
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classBasicTool
-
bandFinished
protected void bandFinished() throws Exception
- Specified by:
bandFinished
in classLineBandTool
- Throws:
Exception
-
-