public enum TextAnchorEnum extends Enum<TextAnchorEnum> implements net.sf.jasperreports.engine.type.NamedEnum
| Enum Constant and Description |
|---|
BASELINE_CENTER |
BASELINE_LEFT |
BASELINE_RIGHT |
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
CENTER_LEFT |
CENTER_RIGHT |
HALF_ASCENT_CENTER |
HALF_ASCENT_LEFT |
HALF_ASCENT_RIGTH |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static TextAnchorEnum |
getByName(String name) |
String |
getName() |
org.jfree.ui.TextAnchor |
getTextAnchor() |
static TextAnchorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAnchorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAnchorEnum TOP_CENTER
public static final TextAnchorEnum TOP_LEFT
public static final TextAnchorEnum TOP_RIGHT
public static final TextAnchorEnum HALF_ASCENT_CENTER
public static final TextAnchorEnum HALF_ASCENT_LEFT
public static final TextAnchorEnum HALF_ASCENT_RIGTH
public static final TextAnchorEnum CENTER
public static final TextAnchorEnum CENTER_LEFT
public static final TextAnchorEnum CENTER_RIGHT
public static final TextAnchorEnum BOTTOM_CENTER
public static final TextAnchorEnum BASELINE_CENTER
public static final TextAnchorEnum BASELINE_LEFT
public static final TextAnchorEnum BASELINE_RIGHT
public static final TextAnchorEnum BOTTOM_LEFT
public static final TextAnchorEnum BOTTOM_RIGHT
public static TextAnchorEnum[] values()
for (TextAnchorEnum c : TextAnchorEnum.values()) System.out.println(c);
public static TextAnchorEnum 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 getName()
getName in interface net.sf.jasperreports.engine.type.NamedEnumpublic final org.jfree.ui.TextAnchor getTextAnchor()
public static TextAnchorEnum getByName(String name)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.