public enum ProtectionOption extends Enum<ProtectionOption>
Enum Constant and Description |
---|
HIDDEN
A boolean value indicating if the cell is hidden.
|
LOCKED
A boolean value indicating if the cell is locked.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static ProtectionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectionOption HIDDEN
public static final ProtectionOption LOCKED
public static ProtectionOption[] values()
for (ProtectionOption c : ProtectionOption.values()) System.out.println(c);
public static ProtectionOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
Copyright © 2022. All rights reserved.