Fork me on GitHub

Référence de la classe DetailsTableModel

Est dérivée de javax::swing::table::AbstractTableModel.

Liste de tous les membres

Fonctions membres publiques

int getColumnIndex (Class<?> colClass)
FS_Element getFileAt (int index)
 Returns the FS_Element found at the specific index.
void browseDirectory (List< FS_Element > dirContent)
Class<?extends Object > getColumnClass (int c)
void clear ()
 Removes all rows from the data model.
void addRow (Vector< Object > newRow)
 Add a row to the data model.
void addRow (Object[] newRow)
 Add a row to the data model.
String getColumnName (int column)
 Returns the column name.
int getRowCount ()
 Returns the number of rows.
int getColumnCount ()
 Returns the number of columns.
Object getValueAt (int row, int column)
 Returns the element at the specified row and column.
boolean isCellEditable (int row, int column)
 Returns whether the cell is editable.
void setValueAt (Object value, int row, int column)
 Sets an object at the specified row and column.

Documentation des fonctions membres

void addRow ( Vector< Object >  newRow)

Add a row to the data model.

void addRow ( Object[]  newRow)

Add a row to the data model.

void browseDirectory ( List< FS_Element dirContent)
void clear ( )

Removes all rows from the data model.

Class<? extends Object> getColumnClass ( int  c)
int getColumnCount ( )

Returns the number of columns.

int getColumnIndex ( Class<?>  colClass)
String getColumnName ( int  column)

Returns the column name.

FS_Element getFileAt ( int  index)

Returns the FS_Element found at the specific index.

Renvoie:
The FS_Element found at the specific index.
int getRowCount ( )

Returns the number of rows.

Object getValueAt ( int  row,
int  column 
)

Returns the element at the specified row and column.

boolean isCellEditable ( int  row,
int  column 
)

Returns whether the cell is editable.

It isn't.

void setValueAt ( Object  value,
int  row,
int  column 
)

Sets an object at the specified row and column.


La documentation de cette classe a été générée à partir du fichier suivant :