Class SpreadsheetViewModel

    • Field Detail

      • sortedColumn

        protected int sortedColumn
      • sortedOrderAsc

        protected boolean sortedOrderAsc
    • Method Detail

      • baseToVisibleRow

        protected final int baseToVisibleRow​(int row)
        Parameters:
        row - row
        Returns:
        something
      • visibleToBaseRow

        protected final int visibleToBaseRow​(int row)
        Parameters:
        row - row
        Returns:
        something
      • baseToVisibleColumn

        protected final int baseToVisibleColumn​(int column)
        Parameters:
        column - column
        Returns:
        something
      • visibleToBaseColumn

        protected final int visibleToBaseColumn​(int column)
        Parameters:
        column - column
        Returns:
        something
      • isColumsDefault

        protected boolean isColumsDefault()
        Returns:
        something
      • isDefaultColumnVisibility

        public boolean isDefaultColumnVisibility()
        Returns:
        something
      • setDefaultColumnVisibility

        public void setDefaultColumnVisibility()
      • isSolidBaseColumn

        public boolean isSolidBaseColumn​(int baseColumn)
        Parameters:
        baseColumn - baseColumn
        Returns:
        something
      • isSolidColumn

        public boolean isSolidColumn​(int column)
        Parameters:
        column - column
        Returns:
        something
      • getPropertyRow

        public int getPropertyRow​(int row)
        Parameters:
        row - row
        Returns:
        something
      • getPropertyColumn

        public int getPropertyColumn​(int column)
        Parameters:
        column - column
        Returns:
        something
      • isPropertiesColumnVisible

        public boolean isPropertiesColumnVisible​(int column)
        Parameters:
        column - column
        Returns:
        something
      • isRowVisible

        public boolean isRowVisible​(int row)
        Parameters:
        row - row
        Returns:
        something
      • isShowAllRows

        public boolean isShowAllRows()
        Returns:
        something
      • setShowAllRows

        public void setShowAllRows​(boolean showAllRows)
        Parameters:
        showAllRows - showAllRows
      • isGroupColumnsByGuiGroup

        public boolean isGroupColumnsByGuiGroup()
        Returns:
        something
      • setGroupColumnsByGuiGroup

        public void setGroupColumnsByGuiGroup​(boolean groupColumnsByGuiGroup)
        Parameters:
        groupColumnsByGuiGroup - groupColumnsByGuiGroup
      • setRowsVisibility

        public void setRowsVisibility​(int[] rows,
                                      boolean visible)
        Parameters:
        rows - rows
        visible - visible
      • setColumnsVisibility

        public void setColumnsVisibility​(int[] columns,
                                         boolean visible)
        Parameters:
        columns - columns
        visible - visible
      • setPropertyColumnsVisibility

        public void setPropertyColumnsVisibility​(int[] columns,
                                                 boolean visible)
        Parameters:
        columns - columns
        visible - visible
      • repositionColumn

        public void repositionColumn​(int startIndex,
                                     int destIndex)
        Parameters:
        startIndex - startIndex
        destIndex - destIndex
      • sortRows

        public void sortRows​(int column,
                             boolean ascending)
        Parameters:
        column - column
        ascending - ascending
      • sortColumns

        public void sortColumns​(int row,
                                boolean ascending)
        Parameters:
        row - row
        ascending - ascending
      • sortRowsByColumn

        public void sortRowsByColumn​(int column)
        Parameters:
        column - column
      • internalSetValueAt

        protected boolean internalSetValueAt​(Object value,
                                             int row,
                                             int column)
        Overrides:
        internalSetValueAt in class SpreadsheetTableModel
        Parameters:
        value - value
        row - row
        column - column
        Returns:
        something
      • setRowOrder

        protected void setRowOrder​(int[] sortOrder)
        Parameters:
        sortOrder - sortOrder
      • setColumnOrder

        protected void setColumnOrder​(int[] sortOrder)
        Parameters:
        sortOrder - sortOrder