Class GroupedTableModel

    • Constructor Detail

      • GroupedTableModel

        public GroupedTableModel​(GroupingModel parent)
    • Method Detail

      • fireTableModelEvent

        protected void fireTableModelEvent​(TableModelEvent event)
      • recomputeRowCount

        protected void recomputeRowCount()
      • isCellEditable

        public boolean isCellEditable​(int rowIndex,
                                      int columnIndex)
        Specified by:
        isCellEditable in interface TableModel
      • setValueAt

        public void setValueAt​(Object aValue,
                               int rowIndex,
                               int columnIndex)
        Specified by:
        setValueAt in interface TableModel
      • mapToModel

        public int mapToModel​(int row)
        Maps public row numbers to row numbers from the parent table model.
        Parameters:
        row - the row to map
        Returns:
        the corresponding row in the parent table model.
      • mapFromModel

        public int mapFromModel​(int row)
        Maps parent tablemodel row numbers to row numbers from the public view.
        Parameters:
        row - the row to map
        Returns:
        the corresponding row in the public view.