Package org.apache.poi.ss.usermodel
Enum CellPropertyType
- java.lang.Object
-
- java.lang.Enum<CellPropertyType>
-
- org.apache.poi.ss.usermodel.CellPropertyType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CellPropertyType>
public enum CellPropertyType extends java.lang.Enum<CellPropertyType>
The CellPropertyType enum represents the different types of cell properties that can be applied to a cell. Each type is associated with a specific categoryCellPropertyCategory, which classifies and organizes the properties based on their characteristics.- Since:
- POI 5.4.0
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CellPropertyCategorygetCategory()static CellPropertyTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CellPropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BORDER_BOTTOM
public static final CellPropertyType BORDER_BOTTOM
-
BORDER_LEFT
public static final CellPropertyType BORDER_LEFT
-
BORDER_RIGHT
public static final CellPropertyType BORDER_RIGHT
-
BORDER_TOP
public static final CellPropertyType BORDER_TOP
-
BOTTOM_BORDER_COLOR
public static final CellPropertyType BOTTOM_BORDER_COLOR
-
LEFT_BORDER_COLOR
public static final CellPropertyType LEFT_BORDER_COLOR
-
RIGHT_BORDER_COLOR
public static final CellPropertyType RIGHT_BORDER_COLOR
-
TOP_BORDER_COLOR
public static final CellPropertyType TOP_BORDER_COLOR
-
DATA_FORMAT
public static final CellPropertyType DATA_FORMAT
-
FILL_BACKGROUND_COLOR
public static final CellPropertyType FILL_BACKGROUND_COLOR
-
FILL_FOREGROUND_COLOR
public static final CellPropertyType FILL_FOREGROUND_COLOR
-
INDENTION
public static final CellPropertyType INDENTION
-
ROTATION
public static final CellPropertyType ROTATION
-
FILL_BACKGROUND_COLOR_COLOR
public static final CellPropertyType FILL_BACKGROUND_COLOR_COLOR
-
FILL_FOREGROUND_COLOR_COLOR
public static final CellPropertyType FILL_FOREGROUND_COLOR_COLOR
-
FONT
public static final CellPropertyType FONT
-
HIDDEN
public static final CellPropertyType HIDDEN
-
LOCKED
public static final CellPropertyType LOCKED
-
WRAP_TEXT
public static final CellPropertyType WRAP_TEXT
-
SHRINK_TO_FIT
public static final CellPropertyType SHRINK_TO_FIT
-
QUOTE_PREFIXED
public static final CellPropertyType QUOTE_PREFIXED
-
ALIGNMENT
public static final CellPropertyType ALIGNMENT
-
FILL_PATTERN
public static final CellPropertyType FILL_PATTERN
-
VERTICAL_ALIGNMENT
public static final CellPropertyType VERTICAL_ALIGNMENT
-
-
Method Detail
-
values
public static CellPropertyType[] 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 (CellPropertyType c : CellPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellPropertyType 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
-
getCategory
public CellPropertyCategory getCategory()
-
-