Package com.nsdev.lettergenerator.theme
Enum Class StyleRole
- All Implemented Interfaces:
Serializable,Comparable<StyleRole>,Constable
Semantic locations whose theme defaults precede explicit document and content styles.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionShared fallback typography for ordinary content.Closing greeting before the signature.Locale-formatted letter date.Content in the reserved bottom page region.Content in the reserved top page region.Heading typography, before explicit heading overrides.Recipient identity and postal address.Labeled reference details.Opening greeting.Sender identity and postal address.Flowing or final-page visual signature content.Subject line.Table-wide typography and spacing.Table-body cell typography.Repeating table-header cell typography. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
BODY
Shared fallback typography for ordinary content. -
HEADING
Heading typography, before explicit heading overrides. -
TABLE
Table-wide typography and spacing. -
TABLE_HEADER
Repeating table-header cell typography. -
TABLE_CELL
Table-body cell typography. -
HEADER
Content in the reserved top page region. -
FOOTER
Content in the reserved bottom page region. -
SIGNATURE
Flowing or final-page visual signature content. -
SENDER
Sender identity and postal address. -
RECIPIENT
Recipient identity and postal address. -
DATE
Locale-formatted letter date. -
SUBJECT
Subject line. -
REFERENCE
Labeled reference details. -
SALUTATION
Opening greeting. -
CLOSING
Closing greeting before the signature.
-
-
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
-