|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.ObjectjAudioFeatureExtractor.SortingTableModelDecorator
public class SortingTableModelDecorator
Decorator model on top of normal feature selection model.
| コンストラクタの概要 | |
|---|---|
SortingTableModelDecorator(javax.swing.table.TableModel base)
Creates a new model that decorates the underlying model with sorting capabilities |
|
| メソッドの概要 | |
|---|---|
void |
addTableModelListener(javax.swing.event.TableModelListener l)
passed directly to underlying model |
java.lang.Class<?> |
getColumnClass(int columnIndex)
passed directly to underlying model |
int |
getColumnCount()
passed directly to underlying model |
java.lang.String |
getColumnName(int columnIndex)
passed directly to underlying model |
int |
getRealPrefferedWidth(javax.swing.JTable t,
int col)
This method calculates a reasonable preffered width by calculating the width of both the header and each element of the table. |
int |
getRowCount()
passed directly to underlying model |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
passed to underlying model with a translated row index |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
passed directly to underlying model |
void |
removeTableModelListener(javax.swing.event.TableModelListener l)
passed directly to underlying model |
void |
resetIndeci()
This method restores the indeci to their default encoding. |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
passed to underlying model with a translated row index. |
void |
sort(int index)
Sorts the rows using quicksort |
void |
tableChanged(javax.swing.event.TableModelEvent e)
Method for handling generic changes. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SortingTableModelDecorator(javax.swing.table.TableModel base)
base - Underlying model this model is built on top of.| メソッドの詳細 |
|---|
public void tableChanged(javax.swing.event.TableModelEvent e)
javax.swing.event.TableModelListener 内の tableChangedpublic int getRowCount()
javax.swing.table.TableModel 内の getRowCountpublic int getColumnCount()
javax.swing.table.TableModel 内の getColumnCountpublic java.lang.String getColumnName(int columnIndex)
javax.swing.table.TableModel 内の getColumnNamepublic java.lang.Class<?> getColumnClass(int columnIndex)
javax.swing.table.TableModel 内の getColumnClass
public boolean isCellEditable(int rowIndex,
int columnIndex)
javax.swing.table.TableModel 内の isCellEditable
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
javax.swing.table.TableModel 内の getValueAt
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
javax.swing.table.TableModel 内の setValueAtpublic void addTableModelListener(javax.swing.event.TableModelListener l)
javax.swing.table.TableModel 内の addTableModelListenerpublic void removeTableModelListener(javax.swing.event.TableModelListener l)
javax.swing.table.TableModel 内の removeTableModelListenerpublic void sort(int index)
index - Which column is being sortedpublic void resetIndeci()
public int getRealPrefferedWidth(javax.swing.JTable t,
int col)
t - link to the JTable associated with this modelcol - which column's width is bein calcualted.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||