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>,Template
public enum BaseTemplate extends java.lang.Enum<BaseTemplate> implements Template
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_BADGEstatic java.lang.StringPROPERTY_CAPTIONstatic java.lang.StringPROPERTY_DESCRIPTIONstatic java.lang.StringPROPERTY_ICONstatic java.lang.StringPROPERTY_IDstatic java.lang.StringPROPERTY_IMAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplatecreateFormButtonTemplate()static TemplatecreateListStyleIconTwoLinesBadgeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight, int spacing)static java.util.Map<java.lang.String,Template>createTemplateMap(BaseTemplate... templates)static TemplatecreateTreeSingleLineNodeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight)org.teamapps.dto.UiTemplatecreateUiTemplate()java.util.List<java.lang.String>getDataKeys()TemplategetTemplate()static BaseTemplatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BaseTemplate[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.teamapps.ux.component.template.Template
createDarkThemeTemplate
-
-
-
-
Enum Constant Detail
-
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
-
MENU_ITEM
public static final BaseTemplate MENU_ITEM
-
FORM_SECTION_HEADER
public static final BaseTemplate FORM_SECTION_HEADER
-
FORM_BUTTON
public static final BaseTemplate FORM_BUTTON
-
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
-
-
Field Detail
-
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
-
-
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 namejava.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)
-
createTreeSingleLineNodeTemplate
public static Template createTreeSingleLineNodeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight)
-
createFormButtonTemplate
public static Template createFormButtonTemplate()
-
createUiTemplate
public org.teamapps.dto.UiTemplate createUiTemplate()
- Specified by:
createUiTemplatein interfaceTemplate
-
getDataKeys
public java.util.List<java.lang.String> getDataKeys()
- Specified by:
getDataKeysin interfaceTemplate
-
getTemplate
public Template getTemplate()
-
-