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.IsSerializable
Describes 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.String
getHeader()
column's headerjava.lang.String
getIdentifier()
unique identifier of the columnjava.lang.String
getValue(GridRowModel<T> rowModel)
extracts value for the cell of the represented columnboolean
isCustom()
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 columnDataTypeCode
tryToGetDataType()
Returns data type code ornull
if undefined.java.lang.String
tryToGetProperty(java.lang.String key)
Tries to get specified property ornull
if 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 ornull
if undefined.
-
tryToGetProperty
java.lang.String tryToGetProperty(java.lang.String key)
Tries to get specified property ornull
if not found.
-
isCustom
boolean isCustom()
Returns true if this is a custom column
-
-