Class JTSTestBuilderFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class JTSTestBuilderFrame extends JFrame
The main frame for the JTS Test Builder.
Version:
1.7
See Also:
  • Constructor Details

    • JTSTestBuilderFrame

      public JTSTestBuilderFrame()
      Construct the frame
  • Method Details

    • instance

      public static JTSTestBuilderFrame instance()
    • isRunning

      public static boolean isRunning()
      Tests if the TestBuilder is running. Useful to allow functions to decide whether to show indicators (if functions are running under JtsOpCmd, they should not show indicators since that seriously impacts performance).
      Returns:
      true if there is a TestBuilder instance running
    • isShowingIndicators

      public static boolean isShowingIndicators()
    • isSavingIndicators

      public static boolean isSavingIndicators()
    • getGeometryEditPanel

      public static GeometryEditPanel getGeometryEditPanel()
    • getSpatialFunctionPanel

      public static SpatialFunctionPanel getSpatialFunctionPanel()
    • getModel

      public TestBuilderModel getModel()
    • setModel

      public void setModel(TestBuilderModel model)
    • reportException

      public static void reportException(Exception e)
    • setCursorWait

      public void setCursorWait()
    • setCursorNormal

      public void setCursorNormal()
    • setCurrentTestCase

      public void setCurrentTestCase(TestCaseEdit testCase)
    • getTestCasePanel

      public TestCasePanel getTestCasePanel()
    • getResultWKTPanel

      public ResultWKTPanel getResultWKTPanel()
    • getResultValuePanel

      public ResultValuePanel getResultValuePanel()
    • getLogPanel

      public InfoPanel getLogPanel()
    • getCommandPanel

      public CommandPanel getCommandPanel()
    • actionExit

      public void actionExit()
      File | Exit action performed
    • showTab

      public void showTab(String name)
    • showGeomsTab

      public void showGeomsTab()
    • showResultWKTTab

      public void showResultWKTTab()
    • showResultValueTab

      public void showResultValueTab()
    • showInfoTab

      public void showInfoTab()
    • openXmlFilesAndDirectories

      public void openXmlFilesAndDirectories(File[] files) throws Exception
      Throws:
      Exception
    • processWindowEvent

      protected void processWindowEvent(WindowEvent e)
      Overridden so we can exit when window is closed
      Overrides:
      processWindowEvent in class JFrame
    • updateTestCases

      public void updateTestCases()
    • copyResultToTest

      public void copyResultToTest()
    • inspectResult

      public void inspectResult()
    • inspectGeometry

      public void inspectGeometry()
    • inspectGeometry

      public void inspectGeometry(String tag, Geometry geometry)
    • getRunXml

      public String getRunXml()
    • getToolbar

      public JTSTestBuilderToolBar getToolbar()
    • geometryChanged

      public void geometryChanged()
    • updateTestCaseView

      public void updateTestCaseView()
    • updateLayerList

      public void updateLayerList()
    • refreshLayerList

      public void refreshLayerList()