biggests.tables
Class TableSorterVerticalHeader

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by biggests.tables.TableSorter
          extended by biggests.tables.TableSorterValues
              extended by biggests.tables.TableSorterVerticalHeader
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Direct Known Subclasses:
TableSorterSymbols

public class TableSorterVerticalHeader
extends TableSorterValues

Title: TableSorterVerticalHeader model

Description: This table model implements table sorting and also a table header model which writes vertical oriented column names.

Copyright: Copyright (C) 2007 Joana Gonçalves This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class biggests.tables.TableSorter
ASCENDING, columnComparators, COMPARABLE_COMPARATOR, DESCENDING, LEXICAL_COMPARATOR, mouseListener, NOT_SORTED, tableHeader, tableModel
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TableSorterVerticalHeader()
          Constructs a new ColorsTableSorter model.
TableSorterVerticalHeader(javax.swing.table.TableModel tableModel)
          Constructs a new TableSorterVerticalHeader model from a plain table model.
TableSorterVerticalHeader(javax.swing.table.TableModel tableModel, TableHeader tableHeader)
          Constructs a new TableSorterVerticalHeader model from a plain table model and a given table header.
 
Method Summary
 void setTableHeader(javax.swing.table.JTableHeader tableHeader)
          Sets the table header.
 
Methods inherited from class biggests.tables.TableSorterValues
getColumnClass, getComparator
 
Methods inherited from class biggests.tables.TableSorter
getColumnCount, getColumnName, getHeaderRendererIcon, getRowCount, getSortingStatus, getTableHeader, getTableModel, getValueAt, isCellEditable, isSorting, modelIndex, setColumnComparator, setSortingStatus, setTableModel, setValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSorterVerticalHeader

public TableSorterVerticalHeader()
Constructs a new ColorsTableSorter model. This model implements table sorting and a table header which writes vertical oriented column names.

See Also:
TableSorterValues.TableSorterValues()

TableSorterVerticalHeader

public TableSorterVerticalHeader(javax.swing.table.TableModel tableModel)
Constructs a new TableSorterVerticalHeader model from a plain table model. This model implements table sorting and a table header which writes vertical oriented column names.

Parameters:
tableModel - the TableModel which is the basic data model for the table
See Also:
TableSorterValues.TableSorterValues(TableModel tableModel)

TableSorterVerticalHeader

public TableSorterVerticalHeader(javax.swing.table.TableModel tableModel,
                                 TableHeader tableHeader)
Constructs a new TableSorterVerticalHeader model from a plain table model and a given table header. This model implements table sorting and a table header which writes vertical oriented column names.

Parameters:
tableModel - the TableModel which is the basic data model for the table
tableHeader - the TableHeader which is the header for the table
See Also:
TableSorterValues.TableSorterValues(TableModel tableModel, TableHeader tableHeader)
Method Detail

setTableHeader

public void setTableHeader(javax.swing.table.JTableHeader tableHeader)
Description copied from class: TableSorter
Sets the table header.

Overrides:
setTableHeader in class TableSorter
Parameters:
tableHeader - the new JTableHeader