|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ContourMode>
com.xinapse.multisliceimage.roi.ContourMode
public enum ContourMode
An enumeration of the modes of operation of intensity level contour generation.
| Nested Class Summary | |
|---|---|
static class |
ContourMode.ComboBox
|
| Enum Constant Summary | |
|---|---|
EDGE_SEEKING
Edge seeking to get the intensity level. |
|
FIXED
A fixed user-set intensity level. |
|
MOUSE_MINUS_DELTA
The intensity level under the mouse minus delta. |
|
MOUSE_PLUS_DELTA
The intensity level under the mouse plus delta. |
|
UNDER_MOUSE
The intensity level under the mouse. |
|
| Method Summary | |
|---|---|
static ContourMode |
getPreferredContourMode()
Returns the user's preferred ContourMode. |
static void |
savePreferredContourMode(ContourMode mode)
Saves the user's preferred ContourMode to the user preferences. |
java.lang.String |
toString()
Returns a string describing this ContourMode. |
static ContourMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ContourMode[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ContourMode EDGE_SEEKING
public static final ContourMode UNDER_MOUSE
public static final ContourMode FIXED
public static final ContourMode MOUSE_PLUS_DELTA
public static final ContourMode MOUSE_MINUS_DELTA
| Method Detail |
|---|
public static ContourMode[] values()
for (ContourMode c : ContourMode.values()) System.out.println(c);
public static ContourMode 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 name
java.lang.NullPointerException - if the argument is nullpublic static ContourMode getPreferredContourMode()
public static void savePreferredContourMode(ContourMode mode)
mode - the user's new preferred ContourMode.public java.lang.String toString()
toString in class java.lang.Enum<ContourMode>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||