org.zkoss.pivot.util
Enum Exports.PivotExportCell.Type

java.lang.Object
  extended by java.lang.Enum<Exports.PivotExportCell.Type>
      extended by org.zkoss.pivot.util.Exports.PivotExportCell.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Exports.PivotExportCell.Type>
Enclosing class:
Exports.PivotExportCell

public static enum Exports.PivotExportCell.Type
extends java.lang.Enum<Exports.PivotExportCell.Type>

The type of PivotExportCell


Enum Constant Summary
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
static boolean isTitle(Exports.PivotExportCell.Type type)
           
static Exports.PivotExportCell.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Exports.PivotExportCell.Type[] 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 class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TITLE_DATA

public static final Exports.PivotExportCell.Type TITLE_DATA

TITLE_COLUMN

public static final Exports.PivotExportCell.Type TITLE_COLUMN

TITLE_ROW

public static final Exports.PivotExportCell.Type TITLE_ROW

COLUMN

public static final Exports.PivotExportCell.Type COLUMN

COLUMN_SUBTOTAL

public static final Exports.PivotExportCell.Type COLUMN_SUBTOTAL

COLUMN_DATA

public static final Exports.PivotExportCell.Type COLUMN_DATA

COLUMN_GRAND_TOTAL

public static final Exports.PivotExportCell.Type COLUMN_GRAND_TOTAL

ROW

public static final Exports.PivotExportCell.Type ROW

ROW_SUBTOTAL

public static final Exports.PivotExportCell.Type ROW_SUBTOTAL

ROW_DATA

public static final Exports.PivotExportCell.Type ROW_DATA

ROW_GRAND_TOTAL

public static final Exports.PivotExportCell.Type ROW_GRAND_TOTAL

DATA

public static final Exports.PivotExportCell.Type DATA
Method Detail

values

public static Exports.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 (Exports.PivotExportCell.Type c : Exports.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 Exports.PivotExportCell.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isTitle

public static boolean isTitle(Exports.PivotExportCell.Type type)


Copyright © 2012. All Rights Reserved.