Annotation Interface TableProvider


@Retention(RUNTIME) @Target(METHOD) public @interface TableProvider
Method annotation to provide a Table.

Usage: @TableProvider Table method(UUID playerUUID)

Tables about players can have up to 4 columns. Tables about server can have up to 5 columns.

It is recommended to place each table on their own tab with a Tab annotation on the same method.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Family of Font Awesome icon.
    Name of Font Awesome icon.
    Determine the color of the table header.
  • Element Details

    • tableColor

      Color tableColor
      Determine the color of the table header.
      Returns:
      Preferred color. If none are specified defaults are used.
      Default:
      NONE
    • iconName

      String iconName
      Name of Font Awesome icon.

      See FontAwesome (select 'free')) for icons and their Family.

      Returns:
      Name of the icon, if name is not valid no icon is shown.
      Default:
      "table"
    • iconFamily

      Family iconFamily
      Family of Font Awesome icon.

      See FontAwesome (select 'free')) for icons and their Family.

      Returns:
      Family that matches an icon, if there is no icon for this family no icon is shown.
      Default:
      SOLID