Package org.apache.poi.ss.formula.ptg
Enum TablePtg.Item
- java.lang.Object
-
- java.lang.Enum<TablePtg.Item>
-
- org.apache.poi.ss.formula.ptg.TablePtg.Item
-
- All Implemented Interfaces:
Serializable
,Comparable<TablePtg.Item>
- Enclosing class:
- TablePtg
public static enum TablePtg.Item extends Enum<TablePtg.Item>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static TablePtg.Item
valueOf(String name)
Returns the enum constant of this type with the specified name.static TablePtg.Item
valueOfName(String name)
static TablePtg.Item[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final TablePtg.Item ALL
-
HEADERS
public static final TablePtg.Item HEADERS
-
DATA
public static final TablePtg.Item DATA
-
TOTALS
public static final TablePtg.Item TOTALS
-
THIS_ROW
public static final TablePtg.Item THIS_ROW
-
-
Method Detail
-
values
public static TablePtg.Item[] 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 (TablePtg.Item c : TablePtg.Item.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TablePtg.Item 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
-
getName
public String getName()
-
valueOfName
public static TablePtg.Item valueOfName(String name)
-
-