Enum WhenNoDataTypeTableEnum
- java.lang.Object
-
- java.lang.Enum<WhenNoDataTypeTableEnum>
-
- net.sf.jasperreports.components.table.WhenNoDataTypeTableEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<WhenNoDataTypeTableEnum>
,NamedEnum
public enum WhenNoDataTypeTableEnum extends Enum<WhenNoDataTypeTableEnum> implements NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_SECTIONS_NO_DETAIL
Specifies that in case of empty datasources, all table sections except the detail will displayed.BLANK
Specifies that in case of empty datasources, the table output will be blank.NO_DATA_CELL
Specifies that in case of empty datasources, the table output will be blank.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WhenNoDataTypeTableEnum
getByName(String name)
String
getName()
static WhenNoDataTypeTableEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static WhenNoDataTypeTableEnum[]
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
-
BLANK
public static final WhenNoDataTypeTableEnum BLANK
Specifies that in case of empty datasources, the table output will be blank.
-
NO_DATA_CELL
public static final WhenNoDataTypeTableEnum NO_DATA_CELL
Specifies that in case of empty datasources, the table output will be blank.
-
ALL_SECTIONS_NO_DETAIL
public static final WhenNoDataTypeTableEnum ALL_SECTIONS_NO_DETAIL
Specifies that in case of empty datasources, all table sections except the detail will displayed.
-
-
Method Detail
-
values
public static WhenNoDataTypeTableEnum[] 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 (WhenNoDataTypeTableEnum c : WhenNoDataTypeTableEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WhenNoDataTypeTableEnum 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 WhenNoDataTypeTableEnum getByName(String name)
-
-