Enum TextProperty.STYLE
- java.lang.Object
-
- java.lang.Enum<TextProperty.STYLE>
-
- hudson.plugins.project_inheritance.util.svg.properties.TextProperty.STYLE
-
- All Implemented Interfaces:
Serializable
,Comparable<TextProperty.STYLE>
- Enclosing class:
- TextProperty
public static enum TextProperty.STYLE extends Enum<TextProperty.STYLE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLD
BOLDITALIC
ITALIC
PLAIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextProperty.STYLE
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextProperty.STYLE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAIN
public static final TextProperty.STYLE PLAIN
-
BOLD
public static final TextProperty.STYLE BOLD
-
ITALIC
public static final TextProperty.STYLE ITALIC
-
BOLDITALIC
public static final TextProperty.STYLE BOLDITALIC
-
-
Method Detail
-
values
public static TextProperty.STYLE[] 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 (TextProperty.STYLE c : TextProperty.STYLE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextProperty.STYLE 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
-
-