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 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 or null if undefined.
      • tryToGetProperty

        java.lang.String tryToGetProperty​(java.lang.String key)
        Tries to get specified property or null if not found.
      • isCustom

        boolean isCustom()
        Returns true if this is a custom column