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 JTSTestBuilder
private static CommandLine
private static GeometryFunctionRegistry
private static final String
(package private) boolean
private static final String
private TestBuilderModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static CommandLine
static GeometryFunctionRegistry
static GeometryFactory
static PrecisionModel
private void
static JTSTestBuilder
instance()
static void
Main methodstatic TestBuilderModel
model()
private static void
private static void
Sets 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:
ParseException
ClassNotFoundException
-