public static enum Theme.TextLookAndFeel.TextBaseline extends java.lang.Enum<Theme.TextLookAndFeel.TextBaseline>
Enum Constant and Description |
---|
ALPHABETIC
Defines the normal alphabetic text baseline
|
BOTTOM
Defines the text baseline at the bottom of the bounding box
|
HANGING
Defines the hanging text baseline
|
MIDDLE
Defines the text baseline at the middle of the em square
|
TOP
Defines the text baseline at the top of the em square
|
Modifier and Type | Method and Description |
---|---|
static Theme.TextLookAndFeel.TextBaseline |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Theme.TextLookAndFeel.TextBaseline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Theme.TextLookAndFeel.TextBaseline MIDDLE
public static final Theme.TextLookAndFeel.TextBaseline ALPHABETIC
public static final Theme.TextLookAndFeel.TextBaseline TOP
public static final Theme.TextLookAndFeel.TextBaseline BOTTOM
public static final Theme.TextLookAndFeel.TextBaseline HANGING
public static Theme.TextLookAndFeel.TextBaseline[] values()
for (Theme.TextLookAndFeel.TextBaseline c : Theme.TextLookAndFeel.TextBaseline.values()) System.out.println(c);
public static Theme.TextLookAndFeel.TextBaseline 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