public interface IlvObjectModelWithColumns extends IlvModelWithColumns
IlvFlatListModel
,
IlvFlatSetModel
,
IlvTreeListModel
,
IlvTreeSetModel
,
IlvColumnUtilities
Modifier and Type | Method and Description |
---|---|
double |
getDoubleAt(Object object,
int columnIndex)
Returns the value for the attribute number
columnIndex
in the given object. |
Object |
getValueAt(Object object,
int columnIndex)
Returns the value for the attribute number
columnIndex
in the given object. |
void |
setDoubleAt(double value,
Object object,
int columnIndex)
Sets the value for the attribute number
columnIndex
in the given object to the given value . |
void |
setValueAt(Object value,
Object object,
int columnIndex)
Sets the value for the attribute number
columnIndex
in the given object to the given value . |
getColumn, getColumnCount
Object getValueAt(Object object, int columnIndex)
columnIndex
in the given object.object
- The object (row) in which the value is to be looked up.columnIndex
- The column denoting the attribute whose value is to be
looked up.void setValueAt(Object value, Object object, int columnIndex)
columnIndex
in the given object to the given value
.value
- The new value.object
- The object (row) in which the value has to be changed.columnIndex
- The column denoting the attribute whose value has to be
changed.double getDoubleAt(Object object, int columnIndex)
columnIndex
in the given object.
This method should only be used for columns whose type is
Double. For other types of columns, this method will do a conversion
from the object returned by getValueAt
, which may be
inefficient or inaccurate or raise exceptions.
object
- The object (row) in which the value has to be looked up.columnIndex
- The column denoting the attribute whose value has to be
looked up.void setDoubleAt(double value, Object object, int columnIndex)
columnIndex
in the given object to the given value
.
This method should only be used for columns whose type is Double. For other types of columns, this method will do a conversion to the column type, which may be inefficient or inaccurate or raise exceptions.
value
- The new value.object
- The object (row) in which the value has to be changed.columnIndex
- The column denoting the attribute whose value has to be
changed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.