public enum FontStyle extends Enum<FontStyle>
Enum Constant and Description |
---|
BACKCOLOR |
BOLD |
ITALIC |
PLAIN |
STRIKE |
UNDERLINE |
WAVE |
Modifier and Type | Method and Description |
---|---|
boolean |
canHaveExtendedColor() |
String |
getActivationPattern() |
String |
getCreoleSyntax() |
String |
getDeactivationPattern() |
HtmlColor |
getExtendedColor(String s) |
static FontStyle |
getStyle(String line) |
UFont |
mutateFont(UFont font) |
static FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle PLAIN
public static final FontStyle ITALIC
public static final FontStyle BOLD
public static final FontStyle UNDERLINE
public static final FontStyle STRIKE
public static final FontStyle WAVE
public static final FontStyle BACKCOLOR
public static FontStyle[] values()
for (FontStyle c : FontStyle.values()) System.out.println(c);
public static FontStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getActivationPattern()
public boolean canHaveExtendedColor()
public String getCreoleSyntax()
public String getDeactivationPattern()
Copyright © 2016. All Rights Reserved.