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>
,NamedEnum
public enum BandTypeEnum extends Enum<BandTypeEnum> implements NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND
COLUMN_FOOTER
COLUMN_HEADER
DETAIL
GROUP_FOOTER
GROUP_HEADER
LAST_PAGE_FOOTER
NO_DATA
PAGE_FOOTER
PAGE_HEADER
SUMMARY
TITLE
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BandTypeEnum
getByName(String name)
String
getName()
static BandTypeEnum
valueOf(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.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.sf.jasperreports.engine.type.NamedEnum
getDefault
-
-
-
-
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
-
getByName
public static BandTypeEnum getByName(String name)
-
-