Enum Class BaseTemplate
- All Implemented Interfaces:
Serializable,Comparable<BaseTemplate>,Constable,Template
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplatecreateFormButtonTemplate(int iconSize, float relativeFontSize) static TemplatecreateListStyleIconTwoLinesBadgeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight, int spacing) static TemplatecreateListStyleIconTwoLinesBadgeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight, int spacing, boolean wrapLines) static TemplatecreateTreeSingleLineNodeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight) static TemplatecreateTreeSingleLineNodeTemplate(int iconSize, VerticalElementAlignment verticalIconAlignment, int maxHeight, boolean wrapLines) static BaseTemplateReturns the enum constant of this class with the specified name.static BaseTemplate[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.teamapps.ux.component.template.Template
createDarkThemeTemplate
-
Enum Constant Details
-
TOOL_BUTTON
-
TOOLBAR_BUTTON
-
TOOLBAR_BUTTON_SMALL
-
TOOLBAR_BUTTON_TINY
-
TOOLBAR_MENU_GROUP_HEADER
-
TOOLBAR_MENU_BIG_BUTTON
-
ITEM_VIEW_ITEM
-
APPLICATION_LISTING
-
FILE_ITEM_FLOATING
-
FILE_ITEM_LIST
-
LIST_ITEM_SMALL_ICON_SINGLE_LINE
-
LIST_ITEM_MEDIUM_ICON_SINGLE_LINE
-
LIST_ITEM_LARGE_ICON_SINGLE_LINE
-
LIST_ITEM_EXTRA_VERY_LARGE_ICON_TWO_LINES
-
LIST_ITEM_VERY_LARGE_ICON_TWO_LINES
-
LIST_ITEM_LARGE_ICON_TWO_LINES
-
LIST_ITEM_MEDIUM_ICON_TWO_LINES
-
MENU_ITEM
-
FORM_SECTION_HEADER
-
BUTTON
-
BUTTON_LARGE
-
BUTTON_XLARGE
-
NOTIFICATION_ICON_CAPTION
-
NOTIFICATION_ICON_CAPTION_DESCRIPTION
-
NAVIGATION_BAR_ICON_ONLY
-
-
Field Details
-
PROPERTY_ICON
- See Also:
-
PROPERTY_IMAGE
- See Also:
-
PROPERTY_CAPTION
- See Also:
-
PROPERTY_DESCRIPTION
- See Also:
-
PROPERTY_BADGE
- See Also:
-
PROPERTY_ARIA_LABEL
- See Also:
-
PROPERTY_TITLE
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
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) -
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
-
createUiTemplate
- Specified by:
createUiTemplatein interfaceTemplate
-
getPropertyNames
- Specified by:
getPropertyNamesin interfaceTemplate
-
getTemplate
-