Constructor and Description |
---|
RowMapping(int index,
TableModel model)
Create a new table row mapping.
|
RowMapping(int index,
TableModel model,
ETable table)
Create a new table row mapping.
|
Modifier and Type | Method and Description |
---|---|
Object |
getModelObject(int column)
Get the model object at the row index of this mapping and the given column.
|
int |
getModelRowIndex()
Get the model row index.
|
Object |
getTransformedValue(int column)
Get the transformed value.
|
public RowMapping(int index, TableModel model)
index
- The row indexmodel
- The table modelpublic RowMapping(int index, TableModel model, ETable table)
index
- The row indexmodel
- The table modeltable
- The table. This argument needs to be set when
ETable.RowMapping.getTransformedValue(int)
is to be used.public int getModelRowIndex()
public Object getModelObject(int column)
column
- The columnETable.RowMapping.getTransformedValue(int)
public Object getTransformedValue(int column)
ETable.RowMapping.RowMapping(int, javax.swing.table.TableModel, org.netbeans.swing.etable.ETable)
.column
- The columntable.transformValue(getModelObject(column))
.IllegalStateException
- when table is not set