public static enum TextStyleProperty.Styles extends java.lang.Enum<TextStyleProperty.Styles> implements PropertyValue
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
static TextStyleProperty.Styles |
getStyle(int intValue) |
void |
putPreferences(java.util.prefs.Preferences prefs)
Diese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel
"PROPERTY_VALUE"(verplichtend) weg.
|
java.lang.String |
toString() |
static TextStyleProperty.Styles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextStyleProperty.Styles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextStyleProperty.Styles STANDARD
public static final TextStyleProperty.Styles BOLD
public static final TextStyleProperty.Styles ITALIC
public static TextStyleProperty.Styles[] values()
for (TextStyleProperty.Styles c : TextStyleProperty.Styles.values()) System.out.println(c);
public static TextStyleProperty.Styles 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 nullpublic void putPreferences(java.util.prefs.Preferences prefs)
PropertyValue
putPreferences
in interface PropertyValue
prefs
- die Preferencespublic java.lang.String toString()
toString
in class java.lang.Enum<TextStyleProperty.Styles>
public int getIntValue()
@Nullable public static TextStyleProperty.Styles getStyle(int intValue)