Package com._1c.g5.v8.dt.common.ui
Enum Fonts.FontStyle
- java.lang.Object
-
- java.lang.Enum<Fonts.FontStyle>
-
- com._1c.g5.v8.dt.common.ui.Fonts.FontStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<Fonts.FontStyle>
- Enclosing class:
- Fonts
public static enum Fonts.FontStyle extends Enum<Fonts.FontStyle>
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Fonts.FontStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static Fonts.FontStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Fonts.FontStyle NONE
-
BOLD
public static final Fonts.FontStyle BOLD
-
ITALIC
public static final Fonts.FontStyle ITALIC
-
-
Method Detail
-
values
public static Fonts.FontStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Fonts.FontStyle c : Fonts.FontStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Fonts.FontStyle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-