public enum TextAdjustEnum extends Enum<TextAdjustEnum> implements NamedEnum
| Enum Constant and Description |
|---|
CUT_TEXT
A constant value specifying that if the text content of the element does not fit the element size, it is cut
and only partially displayed.
|
SCALE_FONT
A constant value specifying that if the text content of the element does not fit the element size, the font size
of the content is decreased so that it fits the element entirely.
|
STRETCH_HEIGHT
A constant value specifying that if the text content of the element does not fit the element size, the height of the
element is increased so that the entire content fits the element, unless a page/column breaks occurs.
|
| Modifier and Type | Method and Description |
|---|---|
static TextAdjustEnum |
getByName(String name) |
String |
getName() |
static TextAdjustEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAdjustEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAdjustEnum CUT_TEXT
public static final TextAdjustEnum STRETCH_HEIGHT
public static final TextAdjustEnum SCALE_FONT
public static TextAdjustEnum[] values()
for (TextAdjustEnum c : TextAdjustEnum.values()) System.out.println(c);
public static TextAdjustEnum 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 static TextAdjustEnum getByName(String name)
Copyright © 2020 TIBCO Software Inc.. All rights reserved.