Package ch.rabanti.nanoxlsx4j
Enum Class Worksheet.SheetProtectionValue
- All Implemented Interfaces:
- Serializable,- Comparable<Worksheet.SheetProtectionValue>,- Constable
- Enclosing class:
- Worksheet
Enum to define the possible protection types when protecting a worksheet
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIf selected, the user can use auto filters if the worksheets is protectedIf selected, the user can delete columns if the worksheets is protectedIf selected, the user can delete rows if the worksheets is protectedIf selected, the user can format cells if the worksheets is protectedIf selected, the user can format columns if the worksheets is protectedIf selected, the user can format rows if the worksheets is protectedIf selected, the user can insert columns if the worksheets is protectedIf selected, the user can insert hyperlinks if the worksheets is protectedIf selected, the user can insert rows if the worksheets is protectedIf selected, the user can edit objects if the worksheets is protectedIf selected, the user can use pivot tables if the worksheets is protectedIf selected, the user can edit scenarios if the worksheets is protectedIf selected, the user can select locked cells if the worksheets is protectedIf selected, the user can select unlocked cells if the worksheets is protectedIf selected, the user can sort cells if the worksheets is protected
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Worksheet.SheetProtectionValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
objectsIf selected, the user can edit objects if the worksheets is protected
- 
scenariosIf selected, the user can edit scenarios if the worksheets is protected
- 
formatCellsIf selected, the user can format cells if the worksheets is protected
- 
formatColumnsIf selected, the user can format columns if the worksheets is protected
- 
formatRowsIf selected, the user can format rows if the worksheets is protected
- 
insertColumnsIf selected, the user can insert columns if the worksheets is protected
- 
insertRowsIf selected, the user can insert rows if the worksheets is protected
- 
insertHyperlinksIf selected, the user can insert hyperlinks if the worksheets is protected
- 
deleteColumnsIf selected, the user can delete columns if the worksheets is protected
- 
deleteRowsIf selected, the user can delete rows if the worksheets is protected
- 
selectLockedCellsIf selected, the user can select locked cells if the worksheets is protected
- 
sortIf selected, the user can sort cells if the worksheets is protected
- 
autoFilterIf selected, the user can use auto filters if the worksheets is protected
- 
pivotTablesIf selected, the user can use pivot tables if the worksheets is protected
- 
selectUnlockedCellsIf selected, the user can select unlocked cells if the worksheets is protected
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-