public enum PreferencePolicy extends Enum<PreferencePolicy>
| Enum Constant and Description |
|---|
HIDDEN
Preferência não é visível para o usuário.
|
READ_ONLY
Preferência visível para o usuário mas não é editável.
|
READ_WRITE
Preferência visível e editável para o usuário.
|
| Modifier and Type | Method and Description |
|---|---|
static PreferencePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferencePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferencePolicy HIDDEN
public static final PreferencePolicy READ_ONLY
public static final PreferencePolicy READ_WRITE
public static PreferencePolicy[] values()
for (PreferencePolicy c : PreferencePolicy.values()) System.out.println(c);
public static PreferencePolicy 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 nullCopyright © 2020. All rights reserved.