java.io.Serializablepublic class GenericObjectTable extends ObjectTable
| Constructor | Description |
|---|---|
GenericObjectTable() |
Creates a new object table.
|
GenericObjectTable(int increment) |
Creates a new table.
|
GenericObjectTable(int rowIncrement,
int colIncrement) |
Creates a new table.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
copyColumn(int oldColumn,
int newColumn) |
Copys the contents of the old column to the new column.
|
void |
copyRow(int oldRow,
int newRow) |
Copys the contents of the old row to the new row.
|
java.lang.Object |
getObject(int row,
int column) |
Returns the object from a particular cell in the table.
|
void |
setObject(int row,
int column,
java.lang.Object object) |
Sets the object for a cell in the table.
|
getClass, notify, notifyAll, toString, wait, wait, waitclear, clearRow, ensureCapacity, equals, getColumnCount, getColumnIncrement, getRowCount, getRowIncrement, hashCodepublic GenericObjectTable()
public GenericObjectTable(int increment)
increment - the row and column size increment.public GenericObjectTable(int rowIncrement,
int colIncrement)
rowIncrement - the row size increment.colIncrement - the column size increment.public java.lang.Object getObject(int row,
int column)
row - the row index (zero-based).column - the column index (zero-based).public void setObject(int row,
int column,
java.lang.Object object)
row - the row index (zero-based).column - the column index (zero-based).object - the object.public void copyColumn(int oldColumn,
int newColumn)
oldColumn - the index of the old (source) columnnewColumn - the index of the new columnpublic void copyRow(int oldRow,
int newRow)
oldRow - the index of the old rownewRow - the index of the new row