Annotation Type Column


@Retention(RUNTIME) public @interface Column
Annotation used to mark up bean properties with metadata for table columns.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The message key for the column header (if no given message is found, will be used as a literal header).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    float
    Expand ratio for the column (use negative values for no expand ratio).
    boolean
    Flag indicating whether column should be filterable by default.
    int
    The order key.
    The style which should be used for a cell in this column.
    The view in which the column should be displayed.
    int
    The width (use -1 to not set the width).
  • Element Details

    • header

      The message key for the column header (if no given message is found, will be used as a literal header).

      Returns:
      the message key for the column header
    • expandRatio

      Expand ratio for the column (use negative values for no expand ratio).

      Returns:
      the expand ratoio
      Default:
      -1.0f
    • filterable

      boolean filterable
      Flag indicating whether column should be filterable by default.
      Returns:
      true if the column should be filterable
      Default:
      true
    • order

      int order
      The order key.

      The ordering of columns is determined by the relative sizes of their order keys.

      Returns:
      the order key
      Default:
      -1
    • styleName

      The style which should be used for a cell in this column.

      Returns:
      the style
      Default:
      ""
    • view

      The view in which the column should be displayed.

      Returns:
      the view
      Default:
      ""
    • width

      int width
      The width (use -1 to not set the width).

      Returns:
      the width
      Default:
      -1