Enum CrosstabPercentageEnum
- java.lang.Object
-
- java.lang.Enum<CrosstabPercentageEnum>
-
- net.sf.jasperreports.crosstabs.type.CrosstabPercentageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CrosstabPercentageEnum>,JREnum,NamedEnum
public enum CrosstabPercentageEnum extends Enum<CrosstabPercentageEnum> implements JREnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRAND_TOTALPercentage type indicating that the value will be calculated as percentage of the grand total value.NONEPercentage type indicating that the value will not be calculated as a percentage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CrosstabPercentageEnumgetByName(String name)static CrosstabPercentageEnumgetByValue(byte value)Deprecated.Used only by deprecated serialized fields.static CrosstabPercentageEnumgetByValue(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 CrosstabPercentageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CrosstabPercentageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CrosstabPercentageEnum NONE
Percentage type indicating that the value will not be calculated as a percentage.
-
GRAND_TOTAL
public static final CrosstabPercentageEnum GRAND_TOTAL
Percentage type indicating that the value will be calculated as percentage of the grand total value.
-
-
Method Detail
-
values
public static CrosstabPercentageEnum[] 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 (CrosstabPercentageEnum c : CrosstabPercentageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrosstabPercentageEnum 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 CrosstabPercentageEnum getByName(String name)
-
getByValue
public static CrosstabPercentageEnum getByValue(Byte value)
Deprecated.Used only by deprecated serialized fields.
-
getByValue
public static CrosstabPercentageEnum getByValue(byte value)
Deprecated.Used only by deprecated serialized fields.
-
-