Package com.grapecity.documents.excel
Enum Class SpecialCellType
- All Implemented Interfaces:
Serializable,Comparable<SpecialCellType>,Constable
指定单元格的类型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定范围内任何格式条件的单元格。指定范围内具有验证条件的单元格。指定范围内的空单元格。指定范围内包含注释的单元格。包含常量的单元格。使用 SpecialCellsValue 枚举按数据类型过滤值。包含公式的单元格。使用 SpecialCellsValue 枚举按返回类型过滤公式。指定范围的工作表使用范围中最后一个可见单元格。合并与指定范围相交的单元格。具有与指定范围左上角单元格相同格式的单元格。具有与指定范围左上单元格相同验证条件的单元格。指定范围内包含标签的单元格。指定范围内所有可见的单元格。 -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialCellTypeforValue(int value) intgetValue()static SpecialCellTypeReturns the enum constant of this class with the specified name.static SpecialCellType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AllFormatConditions
指定范围内任何格式条件的单元格。 -
AllValidation
指定范围内具有验证条件的单元格。 -
Blanks
指定范围内的空单元格。 -
Comments
指定范围内包含注释的单元格。 -
Constants
包含常量的单元格。使用 SpecialCellsValue 枚举按数据类型过滤值。 -
Formulas
包含公式的单元格。使用 SpecialCellsValue 枚举按返回类型过滤公式。 -
LastCell
指定范围的工作表使用范围中最后一个可见单元格。 -
SameFormatConditions
具有与指定范围左上角单元格相同格式的单元格。 -
SameValidation
具有与指定范围左上单元格相同验证条件的单元格。 -
Visible
指定范围内所有可见的单元格。 -
MergedCells
合并与指定范围相交的单元格。 -
Tags
指定范围内包含标签的单元格。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
forValue
-