Package net.sf.jasperreports.engine.type
Enum BandTypeEnum
- java.lang.Object
-
- java.lang.Enum<BandTypeEnum>
-
- net.sf.jasperreports.engine.type.BandTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<BandTypeEnum>,JREnum,NamedEnum
public enum BandTypeEnum extends Enum<BandTypeEnum> implements JREnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUNDCOLUMN_FOOTERCOLUMN_HEADERDETAILGROUP_FOOTERGROUP_HEADERLAST_PAGE_FOOTERNO_DATAPAGE_FOOTERPAGE_HEADERSUMMARYTITLEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BandTypeEnumgetByName(String name)static BandTypeEnumgetByValue(byte value)Deprecated.Used only by deprecated serialized fields.static BandTypeEnumgetByValue(Byte value)Deprecated.Used only by deprecated serialized fields.StringgetName()bytegetValue()Deprecated.Used only by deprecated serialized fields.BytegetValueByte()Deprecated.Used only by deprecated serialized fields.static BandTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static BandTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final BandTypeEnum UNKNOWN
-
BACKGROUND
public static final BandTypeEnum BACKGROUND
-
TITLE
public static final BandTypeEnum TITLE
-
PAGE_HEADER
public static final BandTypeEnum PAGE_HEADER
-
COLUMN_HEADER
public static final BandTypeEnum COLUMN_HEADER
-
GROUP_HEADER
public static final BandTypeEnum GROUP_HEADER
-
DETAIL
public static final BandTypeEnum DETAIL
-
GROUP_FOOTER
public static final BandTypeEnum GROUP_FOOTER
-
COLUMN_FOOTER
public static final BandTypeEnum COLUMN_FOOTER
-
PAGE_FOOTER
public static final BandTypeEnum PAGE_FOOTER
-
LAST_PAGE_FOOTER
public static final BandTypeEnum LAST_PAGE_FOOTER
-
SUMMARY
public static final BandTypeEnum SUMMARY
-
NO_DATA
public static final BandTypeEnum NO_DATA
-
-
Method Detail
-
values
public static BandTypeEnum[] 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 (BandTypeEnum c : BandTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BandTypeEnum 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
-
getValueByte
public Byte getValueByte()
Deprecated.Used only by deprecated serialized fields.- Specified by:
getValueBytein interfaceJREnum
-
getValue
public final byte getValue()
Deprecated.Used only by deprecated serialized fields.
-
getByName
public static BandTypeEnum getByName(String name)
-
getByValue
public static BandTypeEnum getByValue(Byte value)
Deprecated.Used only by deprecated serialized fields.
-
getByValue
public static BandTypeEnum getByValue(byte value)
Deprecated.Used only by deprecated serialized fields.
-
-