jAudioFeatureExtractor
クラス FeatureSelectorTableModel

java.lang.Object
  上位を拡張 javax.swing.table.AbstractTableModel
      上位を拡張 javax.swing.table.DefaultTableModel
          上位を拡張 jAudioFeatureExtractor.FeatureSelectorTableModel
すべての実装されたインタフェース:
java.io.Serializable, javax.swing.table.TableModel

public class FeatureSelectorTableModel
extends javax.swing.table.DefaultTableModel

A table model used by the FeatureSelectorPanel to store references to feature definitions.

Provides methods to fill a table row by row. Makes all except the first column non-editable. The first column is filled with check boxes.

作成者:
Cory McKay
関連項目:
直列化された形式

フィールドの概要
 
クラス javax.swing.table.DefaultTableModel から継承されたフィールド
columnIdentifiers, dataVector
 
クラス javax.swing.table.AbstractTableModel から継承されたフィールド
listenerList
 
メソッドの概要
 void clearTable()
           
 void fillTable(FeatureDefinition[] definitions, boolean[] feature_save_defaults, boolean[] is_primary_feature)
          Deletes everything in the table and then fills it up one row at a time based on the given FeatureDefinition array.
 java.lang.Class getColumnClass(int column)
          Returns the type of class used for each column.
 boolean isCellEditable(int row, int column)
          Returns false for all cells except those in the first column, so that only cells in the first column are editable.
 
クラス javax.swing.table.DefaultTableModel から継承されたメソッド
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
 
クラス javax.swing.table.AbstractTableModel から継承されたメソッド
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

fillTable

public void fillTable(FeatureDefinition[] definitions,
                      boolean[] feature_save_defaults,
                      boolean[] is_primary_feature)
Deletes everything in the table and then fills it up one row at a time based on the given FeatureDefinition array.

パラメータ:
definitions - Data to place in the table.
feature_save_defaults - The default save setting for each feature.

clearTable

public void clearTable()

getColumnClass

public java.lang.Class getColumnClass(int column)
Returns the type of class used for each column. Necessary in order for text boxes to be properly displayed.

定義:
インタフェース javax.swing.table.TableModel 内の getColumnClass
オーバーライド:
クラス javax.swing.table.AbstractTableModel 内の getColumnClass
パラメータ:
column - Column to check.

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Returns false for all cells except those in the first column, so that only cells in the first column are editable.

定義:
インタフェース javax.swing.table.TableModel 内の isCellEditable
オーバーライド:
クラス javax.swing.table.DefaultTableModel 内の isCellEditable