Package org.apache.poi.ss.usermodel
Enum CellPropertyCategory
- java.lang.Object
-
- java.lang.Enum<CellPropertyCategory>
-
- org.apache.poi.ss.usermodel.CellPropertyCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CellPropertyCategory>
public enum CellPropertyCategory extends java.lang.Enum<CellPropertyCategory>
The CellPropertyCategory enum represents the different categories of cell properties. Each category is used to classify and organize the cell properties based on their characteristics.- Since:
- POI 5.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CellPropertyCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CellPropertyCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHORT
public static final CellPropertyCategory SHORT
-
COLOR
public static final CellPropertyCategory COLOR
-
INT
public static final CellPropertyCategory INT
-
BOOL
public static final CellPropertyCategory BOOL
-
BORDER_TYPE
public static final CellPropertyCategory BORDER_TYPE
-
OTHER
public static final CellPropertyCategory OTHER
-
-
Method Detail
-
values
public static CellPropertyCategory[] 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 (CellPropertyCategory c : CellPropertyCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellPropertyCategory 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 namejava.lang.NullPointerException- if the argument is null
-
-