public static enum StyledTextAttribute.AttributeType extends java.lang.Enum<StyledTextAttribute.AttributeType>
| Enum Constant and Description |
|---|
FONT |
FOREGROUND |
| Modifier and Type | Method and Description |
|---|---|
static StyledTextAttribute.AttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyledTextAttribute.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyledTextAttribute.AttributeType FONT
public static final StyledTextAttribute.AttributeType FOREGROUND
public static StyledTextAttribute.AttributeType[] values()
for (StyledTextAttribute.AttributeType c : StyledTextAttribute.AttributeType.values()) System.out.println(c);
public static StyledTextAttribute.AttributeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null