public class IlvBasicTableModelMapper extends IlvTableModelMapper
IlvTableModelMapper
maps each property
to a single column with an optional required type.Constructor and Description |
---|
IlvBasicTableModelMapper(TableModel model,
String[] propertyNames,
int[] columnIndexes,
Class[] requiredType)
Creates an
IlvTableModelMaper that will map each property
of the given model to a particular column index in the table. |
IlvBasicTableModelMapper(TableModel model,
String[] propertyNames,
String[] columnNames,
Class[] requiredType)
Creates an
IlvTableModelMaper that will map each property
of the given model to a particular column name in the table. |
addPropertyDescriptor, check, clear, clone, deserialize, findColumn, getProperty, getPropertyDescriptor, getPropertyName, getPropertyNames, getRequiredType, getSupportedPropertyNames, getTableModel, isPropertyEditable, isPropertySupported, removePropertyDescriptor, removePropertyDescriptor, serialize, setProperty, setTableModel
public IlvBasicTableModelMapper(TableModel model, String[] propertyNames, int[] columnIndexes, Class[] requiredType)
IlvTableModelMaper
that will map each property
of the given model to a particular column index in the table.model
- the model to mappropertyNames
- the names of the properties to mapcolumnIndexes
- a column index for each property to maprequiredType
- optional required type (array must have same size as others
but can contain null
values).public IlvBasicTableModelMapper(TableModel model, String[] propertyNames, String[] columnNames, Class[] requiredType)
IlvTableModelMaper
that will map each property
of the given model to a particular column name in the table.model
- the model to mappropertyNames
- the names of the properties to mapcolumnNames
- a column name for each property to maprequiredType
- optional required type (array must have same size as others
but can contain null
values).© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.