Enum Class MetisPreferenceResource
java.lang.Object
java.lang.Enum<MetisPreferenceResource>
io.github.tonywasher.joceanus.metis.preference.MetisPreferenceResource
- All Implemented Interfaces:
OceanusBundleId,Serializable,Comparable<MetisPreferenceResource>,Constable
public enum MetisPreferenceResource
extends Enum<MetisPreferenceResource>
implements OceanusBundleId
Resource IDs for JMetis preferences.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSecurityPreference Display Name.SecurityPreference Cipher Steps.SecurityPreference Factory.SecurityPreference Hash Iterations.SecurityPreference keyLength.SecurityPreference Active KeySets.SecurityPreference Phrase.SecurityPreference Display Name.Preference type BOOLEAN.Preference type COLOR.Preference type DATE.Preference type DIRECTORY.Preference type ENUM.Preference type FILE.Preference type INTEGER.Preference type STRING.OK button text.Reset button text.Store Error text.Select header text.PreferenceSet label text.Colour Prompt text.Range error.Range maximum.Range minimum.Colour Title text.Options Title text.Preferences Title text.Save Title text.Select Title text. -
Method Summary
Modifier and TypeMethodDescriptionstatic OceanusBundleIdObtain key for prefType.Get Key Name.Get NameSpace.getValue()Get Value.static MetisPreferenceResourceReturns the enum constant of this class with the specified name.static MetisPreferenceResource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_STRING
Preference type STRING. -
TYPE_INTEGER
Preference type INTEGER. -
TYPE_BOOLEAN
Preference type BOOLEAN. -
TYPE_DATE
Preference type DATE. -
TYPE_FILE
Preference type FILE. -
TYPE_DIRECTORY
Preference type DIRECTORY. -
TYPE_ENUM
Preference type ENUM. -
TYPE_COLOR
Preference type COLOR. -
UI_BUTTON_OK
OK button text. -
UI_BUTTON_RESET
Reset button text. -
UI_TITLE_SAVE
Save Title text. -
UI_TITLE_SELECT
Select Title text. -
UI_TITLE_PREFERENCES
Preferences Title text. -
UI_TITLE_OPTIONS
Options Title text. -
UI_TITLE_COLOR
Colour Title text. -
UI_PROMPT_COLOR
Colour Prompt text. -
UI_LABEL_SET
PreferenceSet label text. -
UI_RANGE_MIN
Range minimum. -
UI_RANGE_MAX
Range maximum. -
UI_RANGE_ERROR
Range error. -
UI_ERROR_STORE
Store Error text. -
UI_HEADER_SELECT
Select header text. -
SECPREF_BASEPREFNAME
SecurityPreference Display Name. -
SECPREF_PREFNAME
SecurityPreference Display Name. -
SECPREF_FACTORY
SecurityPreference Factory. -
SECPREF_KEYLEN
SecurityPreference keyLength. -
SECPREF_CIPHERSTEPS
SecurityPreference Cipher Steps. -
SECPREF_ITERATIONS
SecurityPreference Hash Iterations. -
SECPREF_PHRASE
SecurityPreference Phrase. -
SECPREF_KEYSETS
SecurityPreference Active KeySets.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getKeyName
Description copied from interface:OceanusBundleIdGet Key Name.- Specified by:
getKeyNamein interfaceOceanusBundleId- Returns:
- the key name.
-
getNameSpace
Description copied from interface:OceanusBundleIdGet NameSpace.- Specified by:
getNameSpacein interfaceOceanusBundleId- Returns:
- the nameSpace.
-
getValue
Description copied from interface:OceanusBundleIdGet Value.- Specified by:
getValuein interfaceOceanusBundleId- Returns:
- the value.
-
getKeyForPrefType
Obtain key for prefType.- Parameters:
pType- the type- Returns:
- the resource key
-