public enum QtPersistence extends java.lang.Enum<QtPersistence>
| Enum Constant and Description |
|---|
Permanent
Qt settings apply permanently
|
Temporary
Qt settings applies only temporarily until the tag loses power
|
Unknown
Lave the persistence as-is
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static QtPersistence |
valueOf(int qtPersistenceValue) |
static QtPersistence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QtPersistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QtPersistence Unknown
public static final QtPersistence Temporary
public static final QtPersistence Permanent
public static QtPersistence[] values()
for (QtPersistence c : QtPersistence.values()) System.out.println(c);
public static QtPersistence valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static QtPersistence valueOf(int qtPersistenceValue)
qtPersistenceValue - integer valuepublic int getValue()