Class CoordinateNode
java.lang.Object
org.locationtech.jtstest.testbuilder.GeometricObjectNode
org.locationtech.jtstest.testbuilder.CoordinateNode
Coordinate is the only leaf node now, but could be
refactored into a LeafNode class.
-
Field Summary
FieldsFields inherited from class org.locationtech.jtstest.testbuilder.GeometricObjectNode
index, text -
Constructor Summary
ConstructorsConstructorDescriptionCoordinateNode(Coordinate coord) CoordinateNode(Coordinate coord, int i, double distPrev) -
Method Summary
Modifier and TypeMethodDescriptionstatic CoordinateNodecreate(Coordinate p) static CoordinateNodecreate(Coordinate p, int i, double distPrev) getChildAt(int index) intgetIcon()intbooleanisLeaf()private static Stringlabel(Coordinate coord, int i, double distPrev) Methods inherited from class org.locationtech.jtstest.testbuilder.GeometricObjectNode
getText, indexString, setIndex, sizeString
-
Field Details
-
fmt
-
coord
Coordinate coord
-
-
Constructor Details
-
CoordinateNode
-
CoordinateNode
-
-
Method Details
-
create
-
create
-
label
-
getIcon
- Specified by:
getIconin classGeometricObjectNode
-
getGeometry
- Specified by:
getGeometryin classGeometricObjectNode
-
isLeaf
public boolean isLeaf()- Specified by:
isLeafin classGeometricObjectNode
-
getChildAt
- Specified by:
getChildAtin classGeometricObjectNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin classGeometricObjectNode
-
getIndexOfChild
- Specified by:
getIndexOfChildin classGeometricObjectNode
-