public enum TextBlockMode extends Enum<TextBlockMode>
TextBlockMode
specifies how to arrange a text block in an
available area.Modifier and Type | Method and Description |
---|---|
static TextBlockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextBlockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextBlockMode TOP
public static final TextBlockMode CENTER
public static final TextBlockMode BOTTOM
public static TextBlockMode[] values()
for (TextBlockMode c : TextBlockMode.values()) System.out.println(c);
public static TextBlockMode 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 nullCopyright © 2015. All rights reserved.