Class OptionsList

java.lang.Object
loci.plugins.prefs.OptionsList
Direct Known Subclasses:
ImporterOptions

public class OptionsList extends Object
Base class for ImageJ preferences for plugins.
  • Field Details

  • Constructor Details

  • Method Details

    • parseOptions

      public void parseOptions(String arg)
      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

      public boolean isSaved(String key)
      Gets whether the option with the given key is saved to the ImageJ preferences file.
    • getLabel

      public String getLabel(String key)
      Gets the label for the option with the given key.
    • getInfo

      public String getInfo(String key)
      Gets the documentation for the option with the given key.
    • getPossible

      public String[] getPossible(String key)
      Gets the possible values for the string option with the given key.
    • isPossible

      public boolean isPossible(String key, String value)
      Gets whether the specified value is a possible one for the string option with the given key.
    • isSetByDefault

      public boolean isSetByDefault(String key)
      Gets the default value of the boolean option with the given key.
    • getDefaultValue

      public String getDefaultValue(String key)
      Gets the default value of the string option with the given key.
    • isSet

      public boolean isSet(String key)
      Gets the value of the boolean option with the given key.
    • getValue

      public String getValue(String key)
      Gets the value of the string option with the given key.
    • setValue

      public void setValue(String key, boolean value)
      Sets the value of the boolean option with the given key.
    • setValue

      public void setValue(String key, String value)
      Sets the value of the string option with the given key.
    • getOption

      public Option getOption(String key)
      Gets the option with the given key.
    • getBooleanOption

      public BooleanOption getBooleanOption(String key)
      Gets the boolean option with the given key.
    • getStringOption

      public StringOption getStringOption(String key)
      Gets the string option with the given key.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object