public enum FramePositionStorageType extends java.lang.Enum<FramePositionStorageType>
Enum Constant and Description |
---|
ALL
Store window positions
|
NONE
Do not store window positions.
|
READ_ONLY
Do not store new, but apply existing positions.
|
READ_UPDATE
Do not store new, but apply and update existing positions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.String identifier)
True if the identifier refers to this frame position storage type.
|
java.lang.String |
getDescription()
Returns a short human readable description of this storage type.
|
java.lang.String |
getIdentifier()
Returns the identifier of this storage type.
|
static FramePositionStorageType |
getType(java.lang.String identifier)
Returns the storage type corresponding to the identifier.
|
boolean |
isPositionFrames()
True if the position of frames should be set to the last position.
|
boolean |
isReadDisk()
True if frame positions should be read from a position config file at startup.
|
boolean |
isStoreNewPositions()
True if positions of frames for which yet no position is stored, should be stored.
|
boolean |
isUpdatePositions()
True if existing frame positions should be updated when user moves frames around.
|
boolean |
isWriteDisk()
True if frame positions should be stored in a config file upon shutdown.
|
java.lang.String |
toString() |
static FramePositionStorageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FramePositionStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FramePositionStorageType NONE
public static final FramePositionStorageType ALL
public static final FramePositionStorageType READ_ONLY
public static final FramePositionStorageType READ_UPDATE
public static FramePositionStorageType[] values()
for (FramePositionStorageType c : FramePositionStorageType.values()) System.out.println(c);
public static FramePositionStorageType 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 boolean isPositionFrames()
public boolean isReadDisk()
public boolean isWriteDisk()
public boolean isUpdatePositions()
public boolean isStoreNewPositions()
public boolean equals(java.lang.String identifier)
identifier
- identifier of storage type.public java.lang.String getIdentifier()
YouScopeProperties.setProperty(String, String)
.public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Enum<FramePositionStorageType>
public static FramePositionStorageType getType(java.lang.String identifier)
NONE
.identifier
- Identifier of storage type.