Annotation Type TabInfo


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Repeatable(Multiple.class)
    public @interface TabInfo
    Class Annotation that allows determining an Icon and ElementOrder of a tab.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ElementOrder[] elementOrder
      Order preference for the large elements of a tab.
      java.lang.String tab
      Name of the tab this information is about.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Family iconFamily
      Family of Font Awesome icon.
      java.lang.String iconName
      Name of Font Awesome icon.
    • Element Detail

      • tab

        java.lang.String tab
        Name of the tab this information is about.
        Returns:
        Tab name, limited to 50 characters.
      • elementOrder

        ElementOrder[] elementOrder
        Order preference for the large elements of a tab.

        If an ordering is not present they will be added to the end in the default order. If a duplicate ordering exists only the first will be used for determining the order.

        Returns:
        ElementOrders in the order that they want to be displayed in.
      • iconName

        java.lang.String iconName
        Name of Font Awesome icon.

        See https://fontawesome.com/icons (select 'free')) for icons and their Family.

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

        Family iconFamily
        Family of Font Awesome icon.

        See https://fontawesome.com/icons (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:
        com.djrapitops.plan.extension.icon.Family.SOLID