Mp3dings 
20100427

de.mospace.swing.table
Interface FieldAssociatedTableModel

All Superinterfaces:
TableModel

Deprecated. This class is no longer used by mp3dings, integer field identifiers have been replaced by Field objects.

public interface FieldAssociatedTableModel
extends TableModel

A TableModel whose columns are associated with data fields represented by unique int values.

Version:
$Revision: 12 $ ($Date: 2007-07-27 11:48:53 +0200 (Fr, 27 Jul 2007) $)
Author:
Moritz Ringler

Method Summary
 int[] getAllowedFields()
          Deprecated. Returns the fields that can be displayed in a table.
 int getColForID(int id)
          Deprecated. Returns the column number of the column currently associated with the specified field.
 int getColumnID(int col)
          Deprecated. Returns the identifier of the field currently associated with the specified table column.
 int[] getDefaultFields()
          Deprecated. Returns the fields that are displayed by default.
 boolean getEditable(int fieldID)
          Deprecated. Returns the editable property for an allowed field.
 int[] getFields()
          Deprecated. Returns the fields that currently have table columns associated with them.
 int[] getPersistentFields()
          Deprecated. Returns the fields that must always be displayed.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

getColumnID

int getColumnID(int col)
Deprecated. 
Returns the identifier of the field currently associated with the specified table column.

Parameters:
col - the column number for which to retrieve the field
Returns:
the field identifier or a value of -1 if col is invalid

getColForID

int getColForID(int id)
Deprecated. 
Returns the column number of the column currently associated with the specified field.

Parameters:
id - an int value identifying an allowed data field
Returns:
the column number of the associated column or a value of -1 if no column is associated with that field identifier.

getAllowedFields

int[] getAllowedFields()
Deprecated. 
Returns the fields that can be displayed in a table.

Returns:
An array of integer field identifiers.

getPersistentFields

int[] getPersistentFields()
Deprecated. 
Returns the fields that must always be displayed.

Returns:
An array of integer field identifiers.

getDefaultFields

int[] getDefaultFields()
Deprecated. 
Returns the fields that are displayed by default.

Returns:
An array of integer field identifiers.

getEditable

boolean getEditable(int fieldID)
Deprecated. 
Returns the editable property for an allowed field.


getFields

int[] getFields()
Deprecated. 
Returns the fields that currently have table columns associated with them.

Returns:
An array of integer field identifiers.

Mp3dings 
20100427