| Changed Constructors |
DefaultTableModel(int, int)
|
Documentation changed from old to new. |
Constructs a DefaultTableModel with numRows and numColumns of null object values. |
DefaultTableModel(Object[], int)
|
Documentation changed from old to new. |
Constructs a DefaultTableModel with as many columns as there are elements in columnNames and numRows of null object values. |
DefaultTableModel(Object[][], Object[])
|
Documentation changed from old to new. |
Constructs a DefaultTableModel and initializes the table by passing data and columnNames to the setDataVector method. |
DefaultTableModel(Vector, int)
|
Documentation changed from old to new. |
Constructs a DefaultTableModel with as many columns as there are elements in columnNames and numRows of null object values. |
DefaultTableModel(Vector, Vector)
|
Documentation changed from old to new. |
Constructs a DefaultTableModel and initializes the table by passing data and columnNames to the setDataVector method. |
DefaultTableModel(void)
|
Documentation changed from old to new. |
Constructs a default DefaultTableModel which is a table of zero columns and zero rows. |
| Changed Methods |
String getColumnName(int)
|
Documentation changed from old to new. |
Returns the column name. |
Vector getDataVector()
|
Documentation changed from old to new. |
Returns the Vector of Vectors that contains the table's data values. |
Object getValueAt(int, int)
|
Documentation changed from old to new. |
Returns an attribute value for the cell at row and column. |
boolean isCellEditable(int, int)
|
Documentation changed from old to new. |
Returns true regardless of parameter values. |
void moveRow(int, int, int)
|
Documentation changed from old to new. |
Moves one or more rows starting at startIndex to endIndex in the model to the toIndex. |
void newDataAvailable(TableModelEvent)
|
Documentation changed from old to new. |
Equivalent to fireTableChanged. |
void newRowsAdded(TableModelEvent)
|
Documentation changed from old to new. |
Ensures that the new rows have the correct number of columns. |
void removeRow(int)
|
Documentation changed from old to new. |
Removes the row at row from the model. |
void rowsRemoved(TableModelEvent)
|
Documentation changed from old to new. |
Equivalent to fireTableChanged. |
void setNumRows(int)
|
Documentation changed from old to new. |
Obsolete as of Java 2 platform v1.3. |
void setValueAt(Object, int, int)
|
Documentation changed from old to new. |
Sets the object value for the cell at column and row. |
void addColumn(Object)
|
Documentation changed from old to new. |
Adds a column to the model. |
void addColumn(Object, Object[])
|
Documentation changed from old to new. |
Adds a column to the model. |
void addColumn(Object, Vector)
|
Documentation changed from old to new. |
Adds a column to the model. |
void addRow(Object[])
|
Documentation changed from old to new. |
Adds a row to the end of the model. |
void addRow(Vector)
|
Documentation changed from old to new. |
Adds a row to the end of the model. |
Vector convertToVector(Object[])
|
Documentation changed from old to new. |
Returns a vector that contains the same objects as the array. |
Vector convertToVector(Object[][])
|
Documentation changed from old to new. |
Returns a vector of vectors that contains the same objects as the array. |
void insertRow(int, Object[])
|
Documentation changed from old to new. |
Inserts a row at row in the model. |
void insertRow(int, Vector)
|
Documentation changed from old to new. |
Inserts a row at row in the model. |
void setColumnIdentifiers(Object[])
|
Documentation changed from old to new. |
Replaces the column identifiers in the model. |
void setColumnIdentifiers(Vector)
|
Documentation changed from old to new. |
Replaces the column identifiers in the model. |
void setDataVector(Object[][], Object[])
|
Documentation changed from old to new. |
Replaces the value in the dataVector instance variable with the values in the array newData. |
void setDataVector(Vector, Vector)
|
Documentation changed from old to new. |
Replaces the current dataVector instance variable with the new Vector of rows newData. |