Enum CellEdgeEnum
- java.lang.Object
-
- java.lang.Enum<CellEdgeEnum>
-
- net.sf.jasperreports.engine.export.type.CellEdgeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CellEdgeEnum>,NamedEnum
public enum CellEdgeEnum extends java.lang.Enum<CellEdgeEnum> implements NamedEnum
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CellEdgeEnumgetByName(java.lang.String name)java.lang.StringgetName()static CellEdgeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CellEdgeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final CellEdgeEnum TOP
-
BOTTOM
public static final CellEdgeEnum BOTTOM
-
LEFT
public static final CellEdgeEnum LEFT
-
RIGHT
public static final CellEdgeEnum RIGHT
-
-
Method Detail
-
values
public static CellEdgeEnum[] 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 (CellEdgeEnum c : CellEdgeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellEdgeEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getByName
public static CellEdgeEnum getByName(java.lang.String name)
-
-