类 ResultVectorTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
weka.clusterers.forOPTICSAndDBScan.OPTICS_GUI.ResultVectorTableModel
- 所有已实现的接口:
Serializable
,TableModel
,RevisionHandler
ResultVectorTableModel.java
Authors: Rainer Holzmann, Zhanna Melnikova-Albrecht
Date: Sep 12, 2004
Time: 9:23:31 PM
$ Revision 1.4 $
- 版本:
- $Revision: 1.4 $
- 作者:
- Zhanna Melnikova-Albrecht (melnikov@cip.ifi.lmu.de), Rainer Holzmann (holzmann@cip.ifi.lmu.de)
- 另请参阅:
-
构造器概要
构造器构造器说明ResultVectorTableModel
(FastVector resultVector) Constructs a defaultDefaultTableModel
which is a table of zero columns and zero rows. -
方法概要
修饰符和类型方法说明int
Returns the number of columns of this model.Returns the revision string.int
Returns the number of rows of this model.getValueAt
(int row, int column) Returns the value for the JTable for a given position.从类继承的方法 javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
构造器详细资料
-
ResultVectorTableModel
Constructs a defaultDefaultTableModel
which is a table of zero columns and zero rows.
-
-
方法详细资料
-
getRowCount
public int getRowCount()Returns the number of rows of this model. The number of rows is the number of dataObjects stored in the resultVector- 指定者:
getRowCount
在接口中TableModel
- 返回:
- the number of rows of this model
-
getColumnCount
public int getColumnCount()Returns the number of columns of this model. The number of columns is 4 (dataObject.key, dataobject, c_dist, r_dist)- 指定者:
getColumnCount
在接口中TableModel
- 返回:
- int The number of columns of this model
-
getValueAt
Returns the value for the JTable for a given position.- 指定者:
getValueAt
在接口中TableModel
- 参数:
row
- The row of the valuecolumn
- The column of the value- 返回:
- value
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-