public class DoubleOption extends Option
| Modifier and Type | Field and Description | 
|---|---|
protected double | 
defaultValue
The option's default value. 
 | 
protected double | 
value
The option's current value. 
 | 
| Constructor and Description | 
|---|
DoubleOption(HashMap<String,String> entry)
Constructs a double option with the parameters from the given map. 
 | 
DoubleOption(String key,
            boolean save,
            String label,
            String info,
            double defaultValue)
Constructs a double option with the given parameters. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getDefault()
Gets the default value of the option. 
 | 
double | 
getValue()
Gets the current value of the option. 
 | 
void | 
loadOption()
Loads the option's value from the ImageJ preferences file. 
 | 
void | 
parseOption(String arg)
Parses the option's value from the given argument string. 
 | 
void | 
saveOption()
Saves the option's value to the ImageJ preferences file. 
 | 
void | 
setValue(double value)
Sets the current value of the option. 
 | 
protected double defaultValue
protected double value
public DoubleOption(HashMap<String,String> entry)
public double getDefault()
public double getValue()
public void setValue(double value)
public void parseOption(String arg)
OptionparseOption in class Optionpublic void loadOption()
OptionloadOption in class Optionpublic void saveOption()
OptionsaveOption in class OptionCopyright © 2016 Open Microscopy Environment