类 ResultVectorTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
weka.clusterers.forOPTICSAndDBScan.OPTICS_GUI.ResultVectorTableModel
所有已实现的接口:
Serializable, TableModel, RevisionHandler

public class ResultVectorTableModel extends AbstractTableModel implements 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

      public ResultVectorTableModel(FastVector resultVector)
      Constructs a default DefaultTableModel 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

      public Object getValueAt(int row, int column)
      Returns the value for the JTable for a given position.
      指定者:
      getValueAt 在接口中 TableModel
      参数:
      row - The row of the value
      column - The column of the value
      返回:
      value
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision