Package loci.plugins.prefs
Class OptionsList
java.lang.Object
loci.plugins.prefs.OptionsList
- Direct Known Subclasses:
ImporterOptions
Base class for ImageJ preferences for plugins.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanOption(String key) Gets the boolean option with the given key.getDefaultValue(String key) Gets the default value of the string option with the given key.Gets the documentation for the option with the given key.Gets the label for the option with the given key.Gets the option with the given key.String[]getPossible(String key) Gets the possible values for the string option with the given key.getStringOption(String key) Gets the string option with the given key.Gets the value of the string option with the given key.inthashCode()booleanisPossible(String key, String value) Gets whether the specified value is a possible one for the string option with the given key.booleanGets whether the option with the given key is saved to the ImageJ preferences file.booleanGets the value of the boolean option with the given key.booleanisSetByDefault(String key) Gets the default value of the boolean option with the given key.voidLoads option values from the ImageJ preferences file.voidparseOptions(String arg) Parses option values from the given argument string.voidSaves option values to the ImageJ preferences file.voidSets the value of the boolean option with the given key.voidSets the value of the string option with the given key.
-
Field Details
-
INI_TYPE
INI key indicating option's type.- See Also:
-
TYPE_BOOLEAN
String indicating option is of type boolean.- See Also:
-
TYPE_STRING
String indicating option is of type string.- See Also:
-
options
Table of options defining this set of preferences.
-
-
Constructor Details
-
OptionsList
- Throws:
IOException
-
OptionsList
public OptionsList(loci.common.IniList ini)
-
-
Method Details
-
parseOptions
Parses option values from the given argument string. -
loadOptions
public void loadOptions()Loads option values from the ImageJ preferences file. -
saveOptions
public void saveOptions()Saves option values to the ImageJ preferences file. -
isSaved
Gets whether the option with the given key is saved to the ImageJ preferences file. -
getLabel
Gets the label for the option with the given key. -
getInfo
Gets the documentation for the option with the given key. -
getPossible
Gets the possible values for the string option with the given key. -
isPossible
Gets whether the specified value is a possible one for the string option with the given key. -
isSetByDefault
Gets the default value of the boolean option with the given key. -
getDefaultValue
Gets the default value of the string option with the given key. -
isSet
Gets the value of the boolean option with the given key. -
getValue
Gets the value of the string option with the given key. -
setValue
Sets the value of the boolean option with the given key. -
setValue
Sets the value of the string option with the given key. -
getOption
Gets the option with the given key. -
getBooleanOption
Gets the boolean option with the given key. -
getStringOption
Gets the string option with the given key. -
equals
-
hashCode
public int hashCode()
-