Class StreamPolygonTool
- 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
-
- org.locationtech.jtstest.testbuilder.ui.tools.StreamPolygonTool
-
- All Implemented Interfaces:
java.awt.event.KeyListener,java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.awt.event.MouseWheelListener,java.util.EventListener,Tool
public class StreamPolygonTool extends AbstractStreamDrawTool
- Version:
- 1.7
-
-
Field Summary
Fields Modifier and Type Field Description private static StreamPolygonToolsingleton-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.tools.LineBandTool
tentativeCoordinate
-
-
Constructor Summary
Constructors Modifier Constructor Description privateStreamPolygonTool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetGeometryType()static StreamPolygonToolgetInstance()-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.tools.AbstractStreamDrawTool
bandFinished, mouseClicked, mouseLocationChanged, mousePressed
-
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
-
-
-
-
Field Detail
-
singleton
private static StreamPolygonTool singleton
-
-
Method Detail
-
getInstance
public static StreamPolygonTool getInstance()
-
getGeometryType
protected int getGeometryType()
- Specified by:
getGeometryTypein classAbstractStreamDrawTool
-
-