|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FrozenStateMode> com.levigo.jadice.swing.lens.FrozenStateMode
public enum FrozenStateMode
Describes how an instance of HoverLensTool
/ LensView
handles the frozen mode.
Enum Constant Summary | |
---|---|
DISABLED
Disabled frozen state |
|
ENABLED
Deprecated. since 5.1.0.7. This state will lead to undefined frozen states. Therefore it is strongly recommended not to use anymore. This constant will be removed with with one of the next major releases. |
|
RESET_ON_DOCUMENT_CHANGE
Enabled frozen state, reset on document change |
|
RESET_ON_PAGE_CHANGE
Enabled frozen state, reset on page change |
Method Summary | |
---|---|
static FrozenStateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FrozenStateMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FrozenStateMode DISABLED
public static final FrozenStateMode ENABLED
Indicates, that the frozen state function is switched on. Due to historical reasons this state
is part of the API, but this state is no longer relevant. It indicates the availability of the
frozen state function, but without any commitment about the frozen state after a document
change. This can lead to an undefined behaviour. Nevertheless, if this mode is applied it this
tool behaves like RESET_ON_DOCUMENT_CHANGE
.
public static final FrozenStateMode RESET_ON_DOCUMENT_CHANGE
public static final FrozenStateMode RESET_ON_PAGE_CHANGE
Method Detail |
---|
public static FrozenStateMode[] values()
for (FrozenStateMode c : FrozenStateMode.values()) System.out.println(c);
public static FrozenStateMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |