edu.cmu.cs.sb.chromviewer
Class TableSorterRoman

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by edu.cmu.cs.sb.core.TableSorter
          extended by edu.cmu.cs.sb.chromviewer.TableSorterRoman
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class TableSorterRoman
extends TableSorter

A table sorter for sorting chromosome identifiers

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.cmu.cs.sb.core.TableSorter
TableSorter.MouseHandler, TableSorter.TableModelHandler
 
Field Summary
static java.util.Comparator LEXICALROMAN_COMPARATOR
           
 
Fields inherited from class edu.cmu.cs.sb.core.TableSorter
ASCENDING, columnComparators, DESCENDING, EMPTY_DIRECTIVE, LEXICAL_COMPARATOR, mouseListener, NOT_SORTED, tableModel, tableModelListener
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TableSorterRoman()
          Calls empty constructor of parent class
TableSorterRoman(javax.swing.table.TableModel tableModel, int nromancol)
          Calls parent class constructor with tableModel; stores nromancol
TableSorterRoman(javax.swing.table.TableModel tableModel, javax.swing.table.JTableHeader tableHeader)
          Passes parameters to parent class
 
Method Summary
protected  java.util.Comparator getComparator(int column)
          Access method on a comparator
 
Methods inherited from class edu.cmu.cs.sb.core.TableSorter
getColumnClass, getColumnCount, getColumnName, getHeaderRendererIcon, getRowCount, getSortingStatus, getTableHeader, getTableModel, getValueAt, isCellEditable, isSorting, modelIndex, setColumnComparator, setSortingStatus, setTableHeader, 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
 

Field Detail

LEXICALROMAN_COMPARATOR

public static final java.util.Comparator LEXICALROMAN_COMPARATOR
Constructor Detail

TableSorterRoman

public TableSorterRoman()
Calls empty constructor of parent class


TableSorterRoman

public TableSorterRoman(javax.swing.table.TableModel tableModel,
                        int nromancol)
Calls parent class constructor with tableModel; stores nromancol


TableSorterRoman

public TableSorterRoman(javax.swing.table.TableModel tableModel,
                        javax.swing.table.JTableHeader tableHeader)
Passes parameters to parent class

Method Detail

getComparator

protected java.util.Comparator getComparator(int column)
Access method on a comparator

Overrides:
getComparator in class TableSorter