Package at.bestsolution.uia
Enum Class StyleId
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<StyleId>,Constable
This set of constants describes the named constants used to identify the visual style of text in a document.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA list with bulleted items.A custom style.Text that is emphasized.A first level heading.A second level heading.A thrid level heading.A fourth level heading.A fifth level heading.A sixth level heading.A seventh level heading.A eighth level heading.A nineth level heading.Normal style.A list with numbered items.A quotation.A subtitle.A title. -
Method Summary
Modifier and TypeMethodDescriptionfromNativeValue(int nativeValue) intstatic StyleIdReturns the enum constant of this class with the specified name.static StyleId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BulletedList
A list with bulleted items. Supported starting with Windows 8.1. -
Custom
A custom style. -
Emphasis
Text that is emphasized. -
Heading1
A first level heading. -
Heading2
A second level heading. -
Heading3
A thrid level heading. -
Heading4
A fourth level heading. -
Heading5
A fifth level heading. -
Heading6
A sixth level heading. -
Heading7
A seventh level heading. -
Heading8
A eighth level heading. -
Heading9
A nineth level heading. -
Normal
Normal style. -
NumberedList
A list with numbered items. Supported starting with Windows 8.1. -
Quote
A quotation. -
Subtitle
A subtitle. -
Title
A title.
-
-
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
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-