Interface IColumnDefinition<T>
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.IsSerializable
- All Known Implementing Classes:
TypedTableGridColumnDefinition
public interface IColumnDefinition<T> extends com.google.gwt.user.client.rpc.IsSerializableDescribes table column's metadata. Has the ability to render cell values for the column given the row model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHeader()column's headerjava.lang.StringgetIdentifier()unique identifier of the columnjava.lang.StringgetValue(GridRowModel<T> rowModel)extracts value for the cell of the represented columnbooleanisCustom()Returns true if this is a custom columnjava.lang.Comparable<?>tryGetComparableValue(GridRowModel<T> rowModel)tries to extract comparable value for the cell of the represented columnDataTypeCodetryToGetDataType()Returns data type code ornullif undefined.java.lang.StringtryToGetProperty(java.lang.String key)Tries to get specified property ornullif not found.
-
-
-
Method Detail
-
getValue
java.lang.String getValue(GridRowModel<T> rowModel)
extracts value for the cell of the represented column
-
tryGetComparableValue
java.lang.Comparable<?> tryGetComparableValue(GridRowModel<T> rowModel)
tries to extract comparable value for the cell of the represented column
-
getHeader
java.lang.String getHeader()
column's header
-
getIdentifier
java.lang.String getIdentifier()
unique identifier of the column
-
tryToGetDataType
DataTypeCode tryToGetDataType()
Returns data type code ornullif undefined.
-
tryToGetProperty
java.lang.String tryToGetProperty(java.lang.String key)
Tries to get specified property ornullif not found.
-
isCustom
boolean isCustom()
Returns true if this is a custom column
-
-