Package net.sf.gridarta.model.settings
Enum EditorSettingsKey
- java.lang.Object
-
- java.lang.Enum<EditorSettingsKey>
-
- net.sf.gridarta.model.settings.EditorSettingsKey
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EditorSettingsKey>
public enum EditorSettingsKey extends java.lang.Enum<EditorSettingsKey>
Possible keys for saving values in theEditorSettings.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYZE_FILTER_OUTThe key for saving the menu state "Analyze|Highlight 2".ANALYZE_HIGHLIGHT0The key for saving the menu state "Analyze|Filter view".ANALYZE_HIGHLIGHT1The key for saving the menu state "Analyze|Highlight 0".ANALYZE_HIGHLIGHT2The key for saving the menu state "Analyze|Highlight 1".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetKey()Returns the settings key name.static EditorSettingsKeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EditorSettingsKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANALYZE_HIGHLIGHT0
public static final EditorSettingsKey ANALYZE_HIGHLIGHT0
The key for saving the menu state "Analyze|Filter view".
-
ANALYZE_HIGHLIGHT1
public static final EditorSettingsKey ANALYZE_HIGHLIGHT1
The key for saving the menu state "Analyze|Highlight 0".
-
ANALYZE_HIGHLIGHT2
public static final EditorSettingsKey ANALYZE_HIGHLIGHT2
The key for saving the menu state "Analyze|Highlight 1".
-
ANALYZE_FILTER_OUT
public static final EditorSettingsKey ANALYZE_FILTER_OUT
The key for saving the menu state "Analyze|Highlight 2".
-
-
Method Detail
-
values
public static EditorSettingsKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EditorSettingsKey c : EditorSettingsKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EditorSettingsKey valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getKey
@NotNull public @NotNull java.lang.String getKey()
Returns the settings key name.- Returns:
- the settings key name
-
-