Package com._1c.g5.v8.dt.md.fonts
Enum Class FontKind
- All Implemented Interfaces:
Serializable
,Comparable<FontKind>
,Constable
Font kinds.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbsolute font.Auto font.System font.Style font. -
Method Summary
Modifier and TypeMethodDescriptionstatic FontKind
getKind
(int value) Returns font kind by value.int
getValue()
Returns font kind value.static FontKind
Returns the enum constant of this class with the specified name.static FontKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABSOLUTE_FONT
Absolute font. -
SYSTEM_FONT
System font. -
V8_FONT
Style font. -
AUTO_FONT
Auto font.
-
-
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
-
getKind
Returns font kind by value.- Parameters:
value
- the font kind value.- Returns:
- the font kind by value, if not founded - returns auto.
-
getValue
public int getValue()Returns font kind value.- Returns:
- font kind value.
-