|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--InterDistanceModel | +--PreviousDistanceModel
This class is used to display the previous distance table in the previous state window.
Field Summary |
Fields inherited from class InterDistanceModel |
distance, names |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
PreviousDistanceModel(FM fm)
Constructs the data with the FM algorithm. |
|
PreviousDistanceModel(NJ nj)
Constructs the data with the NJ algorithm. |
|
PreviousDistanceModel(UPGMA upgma)
Constructs the data with the UPGMA algorithm. |
Method Summary | |
java.lang.Class |
getColumnClass(int c)
Overrides the method in the TableModel class and returns the class for each table column. |
java.lang.Object |
getValueAt(int row,
int col)
Overrides the method in the InterDistanceModel class and returns the value of each table cell. |
Methods inherited from class InterDistanceModel |
getColumnCount, getColumnName, getCount, getRowCount, update, updateTable |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreviousDistanceModel(UPGMA upgma)
upgma
- the UPGMA algorithmpublic PreviousDistanceModel(NJ nj)
nj
- the NJ algorithmpublic PreviousDistanceModel(FM fm)
fm
- the FM algorithmMethod Detail |
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class InterDistanceModel
row
- the row whose value is to be queriedcol
- the column whose value is to be queried
public java.lang.Class getColumnClass(int c)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
c
- the index of the column
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |