java.io.Serializable
, java.lang.Comparable<TextVerticalOverflow>
public enum TextVerticalOverflow extends java.lang.Enum<TextVerticalOverflow>
Enum Constant | Description |
---|---|
CLIP |
Pay attention to top and bottom barriers.
|
ELLIPSIS |
Pay attention to top and bottom barriers.
|
OVERFLOW |
Overflow the text and pay no attention to top and bottom barriers.
|
Modifier and Type | Method | Description |
---|---|---|
static TextVerticalOverflow |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TextVerticalOverflow[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextVerticalOverflow OVERFLOW
public static final TextVerticalOverflow ELLIPSIS
public static final TextVerticalOverflow CLIP
public static TextVerticalOverflow[] values()
for (TextVerticalOverflow c : TextVerticalOverflow.values()) System.out.println(c);
public static TextVerticalOverflow 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 nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.