Package org.zkoss.pivot.util
Enum PivotExportCell.Type
- java.lang.Object
-
- java.lang.Enum<PivotExportCell.Type>
-
- org.zkoss.pivot.util.PivotExportCell.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<PivotExportCell.Type>
- Enclosing class:
- PivotExportCell
public static enum PivotExportCell.Type extends Enum<PivotExportCell.Type>
The type of PivotExportCell
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN
COLUMN_DATA
COLUMN_GRAND_TOTAL
COLUMN_SUBTOTAL
DATA
ROW
ROW_DATA
ROW_GRAND_TOTAL
ROW_SUBTOTAL
TITLE_COLUMN
TITLE_DATA
TITLE_ROW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isTitle(PivotExportCell.Type type)
static PivotExportCell.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static PivotExportCell.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TITLE_DATA
public static final PivotExportCell.Type TITLE_DATA
-
TITLE_COLUMN
public static final PivotExportCell.Type TITLE_COLUMN
-
TITLE_ROW
public static final PivotExportCell.Type TITLE_ROW
-
COLUMN
public static final PivotExportCell.Type COLUMN
-
COLUMN_SUBTOTAL
public static final PivotExportCell.Type COLUMN_SUBTOTAL
-
COLUMN_DATA
public static final PivotExportCell.Type COLUMN_DATA
-
COLUMN_GRAND_TOTAL
public static final PivotExportCell.Type COLUMN_GRAND_TOTAL
-
ROW
public static final PivotExportCell.Type ROW
-
ROW_SUBTOTAL
public static final PivotExportCell.Type ROW_SUBTOTAL
-
ROW_DATA
public static final PivotExportCell.Type ROW_DATA
-
ROW_GRAND_TOTAL
public static final PivotExportCell.Type ROW_GRAND_TOTAL
-
DATA
public static final PivotExportCell.Type DATA
-
-
Method Detail
-
values
public static PivotExportCell.Type[] 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 (PivotExportCell.Type c : PivotExportCell.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PivotExportCell.Type 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
-
isTitle
public static boolean isTitle(PivotExportCell.Type type)
-
-