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:
java.awt.event.KeyListener,java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.awt.event.MouseWheelListener,java.util.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 protectedAbstractStreamDrawTool()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidbandFinished()protected abstract intgetGeometryType()voidmouseClicked(java.awt.event.MouseEvent e)protected voidmouseLocationChanged(java.awt.event.MouseEvent e)voidmousePressed(java.awt.event.MouseEvent e)private voidsetBandType()private voidsetType()-
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
-
-
-
-
Method Detail
-
getGeometryType
protected abstract int getGeometryType()
-
mouseLocationChanged
protected void mouseLocationChanged(java.awt.event.MouseEvent e)
- Overrides:
mouseLocationChangedin classLineBandTool
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressedin interfacejava.awt.event.MouseListener- Overrides:
mousePressedin classLineBandTool
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClickedin interfacejava.awt.event.MouseListener- Overrides:
mouseClickedin classBasicTool
-
bandFinished
protected void bandFinished() throws java.lang.Exception- Specified by:
bandFinishedin classLineBandTool- Throws:
java.lang.Exception
-
setType
private void setType()
-
setBandType
private void setBandType()
-
-