java.io.Serializable, java.lang.Comparable<SprCompatTextViewer.TextFragment.FontStyle>public static enum SprCompatTextViewer.TextFragment.FontStyle extends java.lang.Enum<SprCompatTextViewer.TextFragment.FontStyle>
| Modifier and Type | Method | Description |
|---|---|---|
static SprCompatTextViewer.TextFragment.FontStyle |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SprCompatTextViewer.TextFragment.FontStyle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SprCompatTextViewer.TextFragment.FontStyle NORMAL
public static final SprCompatTextViewer.TextFragment.FontStyle ITALIC
public static final SprCompatTextViewer.TextFragment.FontStyle OBLIQUE
public static SprCompatTextViewer.TextFragment.FontStyle[] values()
for (SprCompatTextViewer.TextFragment.FontStyle c : SprCompatTextViewer.TextFragment.FontStyle.values()) System.out.println(c);
public static SprCompatTextViewer.TextFragment.FontStyle 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