Interface TableFeature

    • Method Detail

      • addColumns

        void addColumns​(java.lang.String[] headers,
                        double[][] realData)
        Add columns with given headers and real data.
        Parameters:
        headers - Vector of header texts.
        realData - Matrix of real data.
      • addColumns

        void addColumns​(java.lang.String[] headers,
                        double[][] realData,
                        double[][] imagData)
        Add columns with given headers and real and imaginary data. The latter can be null if none.
        Parameters:
        headers - Vector of header texts.
        realData - Matrix of real data.
        imagData - Matrix of imaginary data.
      • addRow

        void addRow​(double[] realData)
        Add a row with real data.
        Parameters:
        realData - Matrix of real data.
      • addRow

        void addRow​(double[] realData,
                    double[] imagData)
        Add a row with real and imaginary data.
        Parameters:
        realData - Matrix of real data.
        imagData - Matrix of imaginary data.
      • addRowAndWarnings

        void addRowAndWarnings​(double[] realData,
                               boolean[] warning)
        Add a row with real data.
        Parameters:
        realData - Matrix of real data.
        warning - Matrix of boolean data.
      • addRowAndWarnings

        void addRowAndWarnings​(double[] realData,
                               double[] imagData,
                               boolean[] warnings)
        Add a row with real and imaginary data.
        Parameters:
        realData - Matrix of real data.
        imagData - Matrix of imaginary data.
        warnings - Matrix of boolean data.
      • addRows

        void addRows​(double[][] realData)
        Add rows with real data.
        Parameters:
        realData - Matrix of real data.
      • addRows

        void addRows​(double[][] realData,
                     double[][] imagData)
        Add rows with real and imaginary data.
        Parameters:
        realData - Matrix of real data.
        imagData - Matrix of imaginary data.
      • addRowsAndWarnings

        void addRowsAndWarnings​(double[][] realData,
                                boolean[][] warning)
        Add rows with real data.
        Parameters:
        realData - Matrix of real data.
        warning - Matrix of boolean data.
      • addRowsAndWarnings

        void addRowsAndWarnings​(double[][] realData,
                                double[][] imagData,
                                boolean[][] warnings)
        Add rows with real and imaginary data.
        Parameters:
        realData - Matrix of real data.
        imagData - Matrix of imaginary data.
        warnings - Matrix of boolean data.
      • getFilledImag

        double[][] getFilledImag()
        Get the imaginary data in the table on the filled format. This method will allocate imaginary data if none.
        Returns:
        Matrix of imaginary table data.
      • getFilledReal

        double[][] getFilledReal()
        Get the real data in the table on the filled format.
        Returns:
        Matrix of real table data.
      • importData

        void importData​(java.lang.String filename)
        Fill the table with real or complex data from a file.
        Parameters:
        filename - File name.
      • loadFile

        void loadFile​(java.lang.String path)
        Loads from a file.
        Parameters:
        path - Path to file.
      • loadFile

        void loadFile​(java.lang.String path,
                      java.lang.String sheet,
                      java.lang.String range)
        Loads from an Excel-file with a specified range to read, or a cell to start from, in the specified sheet.
        Parameters:
        path - Path to file.
        sheet - The Excel-sheet to use.
        range - The range, or a starting cell.