Enum BaseTemplate

java.lang.Object
java.lang.Enum<BaseTemplate>
org.teamapps.ux.component.template.BaseTemplate
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BaseTemplate>, java.lang.constant.Constable, Template

public enum BaseTemplate
extends java.lang.Enum<BaseTemplate>
implements Template
  • Enum Constant Details

    • TOOL_BUTTON

      public static final BaseTemplate TOOL_BUTTON
    • 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

      public static final BaseTemplate BUTTON
    • 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
  • Field Details

    • PROPERTY_ID

      public static final java.lang.String PROPERTY_ID
      See Also:
      Constant Field Values
    • PROPERTY_ICON

      public static final java.lang.String PROPERTY_ICON
      See Also:
      Constant Field Values
    • PROPERTY_IMAGE

      public static final java.lang.String PROPERTY_IMAGE
      See Also:
      Constant Field Values
    • PROPERTY_CAPTION

      public static final java.lang.String PROPERTY_CAPTION
      See Also:
      Constant Field Values
    • PROPERTY_DESCRIPTION

      public static final java.lang.String PROPERTY_DESCRIPTION
      See Also:
      Constant Field Values
    • PROPERTY_BADGE

      public static final java.lang.String PROPERTY_BADGE
      See Also:
      Constant Field Values
    • PROPERTY_CAPTION_ICON

      public static final java.lang.String PROPERTY_CAPTION_ICON
      See Also:
      Constant Field Values
    • PROPERTY_RIGHT_ICON

      public static final java.lang.String PROPERTY_RIGHT_ICON
      See Also:
      Constant Field Values
    • PROPERTY_SUB_TEXT1

      public static final java.lang.String PROPERTY_SUB_TEXT1
      See Also:
      Constant Field Values
    • PROPERTY_SUB_TEXT2

      public static final java.lang.String PROPERTY_SUB_TEXT2
      See Also:
      Constant Field Values
    • PROPERTY_SUB_ICON1

      public static final java.lang.String PROPERTY_SUB_ICON1
      See Also:
      Constant Field Values
    • PROPERTY_SUB_ICON2

      public static final java.lang.String PROPERTY_SUB_ICON2
      See Also:
      Constant Field Values
  • Method Details

    • values

      public static BaseTemplate[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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()