Enum TextAnchorEnum
- java.lang.Object
-
- java.lang.Enum<TextAnchorEnum>
-
- net.sf.jasperreports.customizers.type.TextAnchorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TextAnchorEnum>,net.sf.jasperreports.engine.type.NamedEnum
public enum TextAnchorEnum extends Enum<TextAnchorEnum> implements net.sf.jasperreports.engine.type.NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASELINE_CENTERBASELINE_LEFTBASELINE_RIGHTBOTTOM_CENTERBOTTOM_LEFTBOTTOM_RIGHTCENTERCENTER_LEFTCENTER_RIGHTHALF_ASCENT_CENTERHALF_ASCENT_LEFTHALF_ASCENT_RIGTHTOP_CENTERTOP_LEFTTOP_RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextAnchorEnumgetByName(String name)StringgetName()org.jfree.ui.TextAnchorgetTextAnchor()static TextAnchorEnumvalueOf(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.
-
-
-
Enum Constant Detail
-
TOP_CENTER
public static final TextAnchorEnum TOP_CENTER
-
TOP_LEFT
public static final TextAnchorEnum TOP_LEFT
-
TOP_RIGHT
public static final TextAnchorEnum TOP_RIGHT
-
HALF_ASCENT_CENTER
public static final TextAnchorEnum HALF_ASCENT_CENTER
-
HALF_ASCENT_LEFT
public static final TextAnchorEnum HALF_ASCENT_LEFT
-
HALF_ASCENT_RIGTH
public static final TextAnchorEnum HALF_ASCENT_RIGTH
-
CENTER
public static final TextAnchorEnum CENTER
-
CENTER_LEFT
public static final TextAnchorEnum CENTER_LEFT
-
CENTER_RIGHT
public static final TextAnchorEnum CENTER_RIGHT
-
BOTTOM_CENTER
public static final TextAnchorEnum BOTTOM_CENTER
-
BASELINE_CENTER
public static final TextAnchorEnum BASELINE_CENTER
-
BASELINE_LEFT
public static final TextAnchorEnum BASELINE_LEFT
-
BASELINE_RIGHT
public static final TextAnchorEnum BASELINE_RIGHT
-
BOTTOM_LEFT
public static final TextAnchorEnum BOTTOM_LEFT
-
BOTTOM_RIGHT
public static final TextAnchorEnum BOTTOM_RIGHT
-
-
Method Detail
-
values
public static TextAnchorEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TextAnchorEnum c : TextAnchorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextAnchorEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
- Specified by:
getNamein interfacenet.sf.jasperreports.engine.type.NamedEnum
-
getTextAnchor
public final org.jfree.ui.TextAnchor getTextAnchor()
-
getByName
public static TextAnchorEnum getByName(String name)
-
-