Enum TextShapeConfigFactory.FontAttribute
- java.lang.Object
-
- java.lang.Enum<TextShapeConfigFactory.FontAttribute>
-
- com.inductiveautomation.reporting.designer.workspace.inspector.factories.TextShapeConfigFactory.FontAttribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TextShapeConfigFactory.FontAttribute>
- Enclosing class:
- TextShapeConfigFactory
public static enum TextShapeConfigFactory.FontAttribute extends java.lang.Enum<TextShapeConfigFactory.FontAttribute>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextShapeConfigFactory.FontAttribute
valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextShapeConfigFactory.FontAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOLD
public static final TextShapeConfigFactory.FontAttribute BOLD
-
ITALIC
public static final TextShapeConfigFactory.FontAttribute ITALIC
-
UNDERLINE
public static final TextShapeConfigFactory.FontAttribute UNDERLINE
-
SUPERSCRIPT
public static final TextShapeConfigFactory.FontAttribute SUPERSCRIPT
-
SUBSCRIPT
public static final TextShapeConfigFactory.FontAttribute SUBSCRIPT
-
COLOR
public static final TextShapeConfigFactory.FontAttribute COLOR
-
FONT
public static final TextShapeConfigFactory.FontAttribute FONT
-
-
Method Detail
-
values
public static TextShapeConfigFactory.FontAttribute[] 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 (TextShapeConfigFactory.FontAttribute c : TextShapeConfigFactory.FontAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextShapeConfigFactory.FontAttribute valueOf​(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-