Enum Class ThemePart
- All Implemented Interfaces:
Serializable, Comparable<ThemePart>, Constable
A part of the Branding and Theme administration, one per drawer of the
Branding page: each part accepts exactly the options its drawer writes,
the theme variables as named in the platform's branding configuration and,
for the page part, the page fields of the branding itself.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetValue()booleanisBrandingField(String option) static ThemePartstatic ThemePartReturns the enum constant of this class with the specified name.static ThemePart[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLORS
-
FONT
-
TOPBAR
-
SIDEBARS
-
DRAWERS
-
PAGE_AND_APPS
-
-
Field Details
-
PART_NOT_ACCEPTED
- 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
-
parse
- Parameters:
value- the value an agent sent- Returns:
- the matching part
- Throws:
IllegalArgumentException- with the tool's fixed message when the value is omitted or outside the vocabulary
-
getValue
-
getThemeOptions
-
getBrandingFields
-
isBrandingField
-