Enum BaseTemplate

    • Enum Constant Detail

      • TOOLBAR_BUTTON

        public static final BaseTemplate TOOLBAR_BUTTON
      • TOOLBAR_BUTTON_SMALL

        public static final BaseTemplate TOOLBAR_BUTTON_SMALL
      • TOOLBAR_BUTTON_TINY

        public static final BaseTemplate TOOLBAR_BUTTON_TINY
      • TOOLBAR_MENU_GROUP_HEADER

        public static final BaseTemplate TOOLBAR_MENU_GROUP_HEADER
      • TOOLBAR_MENU_BIG_BUTTON

        public static final BaseTemplate TOOLBAR_MENU_BIG_BUTTON
      • ITEM_VIEW_ITEM

        public static final BaseTemplate ITEM_VIEW_ITEM
      • APPLICATION_LISTING

        public static final BaseTemplate APPLICATION_LISTING
      • FILE_ITEM_FLOATING

        public static final BaseTemplate FILE_ITEM_FLOATING
      • FILE_ITEM_LIST

        public static final BaseTemplate FILE_ITEM_LIST
      • LIST_ITEM_SMALL_ICON_SINGLE_LINE

        public static final BaseTemplate LIST_ITEM_SMALL_ICON_SINGLE_LINE
      • LIST_ITEM_MEDIUM_ICON_SINGLE_LINE

        public static final BaseTemplate LIST_ITEM_MEDIUM_ICON_SINGLE_LINE
      • LIST_ITEM_LARGE_ICON_SINGLE_LINE

        public static final BaseTemplate LIST_ITEM_LARGE_ICON_SINGLE_LINE
      • LIST_ITEM_EXTRA_VERY_LARGE_ICON_TWO_LINES

        public static final BaseTemplate LIST_ITEM_EXTRA_VERY_LARGE_ICON_TWO_LINES
      • LIST_ITEM_VERY_LARGE_ICON_TWO_LINES

        public static final BaseTemplate LIST_ITEM_VERY_LARGE_ICON_TWO_LINES
      • LIST_ITEM_LARGE_ICON_TWO_LINES

        public static final BaseTemplate LIST_ITEM_LARGE_ICON_TWO_LINES
      • LIST_ITEM_MEDIUM_ICON_TWO_LINES

        public static final BaseTemplate LIST_ITEM_MEDIUM_ICON_TWO_LINES
      • FORM_SECTION_HEADER

        public static final BaseTemplate FORM_SECTION_HEADER
      • BUTTON_LARGE

        public static final BaseTemplate BUTTON_LARGE
      • BUTTON_XLARGE

        public static final BaseTemplate BUTTON_XLARGE
      • NOTIFICATION_ICON_CAPTION

        public static final BaseTemplate NOTIFICATION_ICON_CAPTION
      • NOTIFICATION_ICON_CAPTION_DESCRIPTION

        public static final BaseTemplate NOTIFICATION_ICON_CAPTION_DESCRIPTION
      • NAVIGATION_BAR_ICON_ONLY

        public static final BaseTemplate NAVIGATION_BAR_ICON_ONLY
    • Method Detail

      • values

        public static BaseTemplate[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BaseTemplate c : BaseTemplate.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BaseTemplate valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • createTemplateMap

        public static java.util.Map<java.lang.String,​Template> createTemplateMap​(BaseTemplate... templates)
      • createListStyleIconTwoLinesBadgeTemplate

        public static Template createListStyleIconTwoLinesBadgeTemplate​(int iconSize,
                                                                        VerticalElementAlignment verticalIconAlignment,
                                                                        int maxHeight,
                                                                        int spacing)
      • createListStyleIconTwoLinesBadgeTemplate

        public static Template createListStyleIconTwoLinesBadgeTemplate​(int iconSize,
                                                                        VerticalElementAlignment verticalIconAlignment,
                                                                        int maxHeight,
                                                                        int spacing,
                                                                        boolean wrapLines)
      • createTemplate

        public static GridTemplate createTemplate​(int minWidth,
                                                  int maxWidth,
                                                  int minHeight,
                                                  int maxHeight,
                                                  Spacing padding,
                                                  int gridGap,
                                                  boolean horizontalCenterAlignment,
                                                  int mainIconSize,
                                                  boolean mainIconAlignTop,
                                                  org.teamapps.common.format.Color mainImageBorderColor,
                                                  int captionIconSize,
                                                  float captionSize,
                                                  org.teamapps.common.format.Color captionColor,
                                                  boolean wrapCaption,
                                                  float badgeSize,
                                                  org.teamapps.common.format.Color badgeTextColor,
                                                  org.teamapps.common.format.Color badgeBackgroundColor,
                                                  int rightIconSize,
                                                  int subIcon1Size,
                                                  float subText1Size,
                                                  org.teamapps.common.format.Color subText1Color,
                                                  int subIcon2Size,
                                                  float subText2Size,
                                                  org.teamapps.common.format.Color subText2Color,
                                                  float descriptionTextSize,
                                                  org.teamapps.common.format.Color descriptionTextColor)
      • createTreeSingleLineNodeTemplate

        public static Template createTreeSingleLineNodeTemplate​(int iconSize,
                                                                VerticalElementAlignment verticalIconAlignment,
                                                                int maxHeight)
      • createTreeSingleLineNodeTemplate

        public static Template createTreeSingleLineNodeTemplate​(int iconSize,
                                                                VerticalElementAlignment verticalIconAlignment,
                                                                int maxHeight,
                                                                boolean wrapLines)
      • createFormButtonTemplate

        public static Template createFormButtonTemplate​(int iconSize,
                                                        float relativeFontSize)
      • createUiTemplate

        public org.teamapps.dto.UiTemplate createUiTemplate()
        Specified by:
        createUiTemplate in interface Template
      • getDataKeys

        public java.util.List<java.lang.String> getDataKeys()
        Specified by:
        getDataKeys in interface Template
      • getTemplate

        public Template getTemplate()