Class JTSTestBuilder
java.lang.Object
org.locationtech.jtstest.testbuilder.JTSTestBuilder
A Swing application which supports
creating geometries and running JTS operations.
Command Line Options
| -geomfunc { <classname> } | Specifies classes whose public static methods will be loaded as geometry functions |
- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic JTSTestBuilderprivate static CommandLineprivate static GeometryFunctionRegistryprivate static final String(package private) booleanprivate static final Stringprivate TestBuilderModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static CommandLinestatic GeometryFunctionRegistrystatic GeometryFactorystatic PrecisionModelprivate voidstatic JTSTestBuilderinstance()static voidMain methodstatic TestBuilderModelmodel()private static voidprivate static voidSets the look and feel, using user-defined LAF if provided as a system property.
-
Field Details
-
PROP_SWING_DEFAULTLAF
- See Also:
-
OPT_GEOMFUNC
- See Also:
-
funcRegistry
-
commandLine
-
app
-
tbModel
-
packFrame
boolean packFrame
-
-
Constructor Details
-
JTSTestBuilder
public JTSTestBuilder()Construct the application
-
-
Method Details
-
instance
-
model
-
createCmdLine
-
getFunctionRegistry
-
getPrecisionModel
-
getGeometryFactory
-
initFrame
private void initFrame() -
main
Main method -
setLookAndFeel
Sets the look and feel, using user-defined LAF if provided as a system property. e.g. Metal: -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -
readArgs
- Throws:
ParseExceptionClassNotFoundException
-