Class TestBuilderModel


  • public class TestBuilderModel
    extends java.lang.Object
    • Field Detail

      • MAX_DISPLAY_POINTS

        public static int MAX_DISPLAY_POINTS
      • showingGrid

        protected static boolean showingGrid
      • showingStructure

        protected static boolean showingStructure
      • showingOrientation

        protected static boolean showingOrientation
      • showingVertices

        protected static boolean showingVertices
      • showingLabel

        protected static boolean showingLabel
      • showingCoordinates

        protected static boolean showingCoordinates
      • isMagnifyingTopology

        protected static boolean isMagnifyingTopology
      • topologyStretchSize

        protected static double topologyStretchSize
    • Constructor Detail

      • TestBuilderModel

        public TestBuilderModel()
    • Method Detail

      • isShowingStructure

        public static boolean isShowingStructure()
      • setShowingStructure

        public static void setShowingStructure​(boolean show)
      • isShowingOrientation

        public static boolean isShowingOrientation()
      • setShowingOrientation

        public static void setShowingOrientation​(boolean show)
      • isShowingGrid

        public static boolean isShowingGrid()
      • setShowingGrid

        public static void setShowingGrid​(boolean show)
      • isShowingVertices

        public static boolean isShowingVertices()
      • setShowingVertices

        public static void setShowingVertices​(boolean show)
      • setShowingLabel

        public static void setShowingLabel​(boolean show)
      • isShowingLabel

        public static boolean isShowingLabel()
      • isMagnifyingTopology

        public boolean isMagnifyingTopology()
      • setMagnifyingTopology

        public void setMagnifyingTopology​(boolean show)
      • setTopologyStretchSize

        public void setTopologyStretchSize​(double pixels)
      • getTopologyStretchSize

        public double getTopologyStretchSize()
      • setPrecisionModel

        public void setPrecisionModel​(PrecisionModel precisionModel)
      • getResultDisplayString

        public java.lang.String getResultDisplayString​(Geometry g)
      • pasteGeometry

        public void pasteGeometry​(int geomIndex)
                           throws ParseException,
                                  java.io.IOException
        Throws:
        ParseException
        java.io.IOException
      • loadMultipleGeometriesFromFile

        public void loadMultipleGeometriesFromFile​(int geomIndex,
                                                   java.lang.String filename)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • loadGeometryText

        public void loadGeometryText​(java.lang.String wktA,
                                     java.lang.String wktB)
                              throws ParseException,
                                     java.io.IOException
        Throws:
        ParseException
        java.io.IOException
      • initTestCaseList

        public void initTestCaseList()
      • createNew

        public void createNew()
      • getTestCases

        public java.util.List getTestCases()
      • setCurrentTestCase

        public void setCurrentTestCase​(TestCaseEdit testCase)
      • getCurrentTestCaseEdit

        public TestCaseEdit getCurrentTestCaseEdit()
      • getCurrentTestable

        public Testable getCurrentTestable()
      • getCurrentTestIndex

        public int getCurrentTestIndex()
      • getTestListSize

        public int getTestListSize()
      • openXmlFilesAndDirectories

        public void openXmlFilesAndDirectories​(java.io.File[] files)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getParsingProblems

        public java.util.List getParsingProblems()
        Returns:
        empy list if no errors
      • hasParseErrors

        public boolean hasParseErrors()
      • prevCase

        public void prevCase()
      • nextCase

        public void nextCase()
      • copyCase

        public void copyCase()
      • addCase

        public void addCase​(Geometry[] geoms)
      • addCase

        public void addCase​(Geometry[] geoms,
                            java.lang.String name)
      • deleteCase

        public void deleteCase()
      • setResult

        public void setResult​(java.lang.Object result)
      • getResult

        public java.lang.Object getResult()
      • setOpName

        public void setOpName​(java.lang.String opName)
      • getOpName

        public java.lang.String getOpName()
      • copyResult

        public void copyResult​(boolean isFormatted)