|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
edu.cmu.cs.sb.core.TableSorter
edu.cmu.cs.sb.chromviewer.TableSorterRoman
public class TableSorterRoman
A table sorter for sorting chromosome identifiers
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 |
---|
public static final java.util.Comparator LEXICALROMAN_COMPARATOR
Constructor Detail |
---|
public TableSorterRoman()
public TableSorterRoman(javax.swing.table.TableModel tableModel, int nromancol)
public TableSorterRoman(javax.swing.table.TableModel tableModel, javax.swing.table.JTableHeader tableHeader)
Method Detail |
---|
protected java.util.Comparator getComparator(int column)
getComparator
in class TableSorter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |