Enum RectangleAnchorEnum
- java.lang.Object
-
- java.lang.Enum<RectangleAnchorEnum>
-
- net.sf.jasperreports.customizers.type.RectangleAnchorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RectangleAnchorEnum>,net.sf.jasperreports.engine.type.NamedEnum
public enum RectangleAnchorEnum extends Enum<RectangleAnchorEnum> implements net.sf.jasperreports.engine.type.NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOMBOTTOM_LEFTBOTTOM_RIGHTCENTERLEFTRIGHTTOPTOP_LEFTTOP_RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RectangleAnchorEnumgetByName(String name)StringgetName()org.jfree.ui.RectangleAnchorgetRectangleAnchor()static RectangleAnchorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RectangleAnchorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final RectangleAnchorEnum TOP
-
TOP_LEFT
public static final RectangleAnchorEnum TOP_LEFT
-
TOP_RIGHT
public static final RectangleAnchorEnum TOP_RIGHT
-
BOTTOM
public static final RectangleAnchorEnum BOTTOM
-
BOTTOM_LEFT
public static final RectangleAnchorEnum BOTTOM_LEFT
-
BOTTOM_RIGHT
public static final RectangleAnchorEnum BOTTOM_RIGHT
-
CENTER
public static final RectangleAnchorEnum CENTER
-
LEFT
public static final RectangleAnchorEnum LEFT
-
RIGHT
public static final RectangleAnchorEnum RIGHT
-
-
Method Detail
-
values
public static RectangleAnchorEnum[] 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 (RectangleAnchorEnum c : RectangleAnchorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RectangleAnchorEnum 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
-
getRectangleAnchor
public final org.jfree.ui.RectangleAnchor getRectangleAnchor()
-
getByName
public static RectangleAnchorEnum getByName(String name)
-
-