Package ghidra.framework.options
Class AbstractOptions
- java.lang.Object
- 
- ghidra.framework.options.AbstractOptions
 
- 
- All Implemented Interfaces:
- Options
 - Direct Known Subclasses:
- FileOptions,- ToolOptions
 
 public abstract class AbstractOptions extends java.lang.Object implements Options 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractOptions.AliasBinding
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.Map<java.lang.String,AbstractOptions.AliasBinding>aliasMapprotected java.util.Map<java.lang.String,HelpLocation>categoryHelpMapprotected WeakSet<OptionsChangeListener>listenersprotected java.lang.Stringnameprotected java.util.Map<java.lang.String,OptionsEditor>optionsEditorMapstatic java.util.Set<java.lang.Class<?>>SUPPORTED_CLASSESprotected java.util.Map<java.lang.String,Option>valueMap- 
Fields inherited from interface ghidra.framework.options.OptionsDELIMITER, DELIMITER_STRING, ILLEGAL_DELIMITER
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractOptions(java.lang.String name)
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontains(java.lang.String optionName)Return true if a option exists with the given name.voidcreateAlias(java.lang.String aliasName, Options options, java.lang.String optionsName)Create an alias in this options for an existing option in some other options object.protected abstract OptioncreateRegisteredOption(java.lang.String optionName, OptionType type, java.lang.String description, HelpLocation help, java.lang.Object defaultValue, java.beans.PropertyEditor editor)protected abstract OptioncreateUnregisteredOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue)voiddispose()static java.beans.PropertyEditorfindPropertyEditor(java.lang.Class<?> originalValueClass)booleangetBoolean(java.lang.String optionName, boolean defaultValue)Get the boolean value for the given option name.byte[]getByteArray(java.lang.String optionName, byte[] defaultValue)Get the byte array for the given option name.HelpLocationgetCategoryHelpLocation(java.lang.String categoryPath)java.util.List<Options>getChildOptions()Returns a list of Options objects that are nested one level down from this Options object.java.awt.ColorgetColor(java.lang.String optionName, java.awt.Color defaultValue)Get the Color for the given option name.CustomOptiongetCustomOption(java.lang.String optionName, CustomOption defaultValue)Get the custom option value for the given option name.java.util.DategetDate(java.lang.String optionName, java.util.Date defaultValue)Get the Date for the given option name.java.lang.ObjectgetDefaultValue(java.lang.String optionName)Returns the default value for the given option.java.lang.StringgetDefaultValueAsString(java.lang.String optionName)Returns the default value as a string for the given option.java.lang.StringgetDescription(java.lang.String optionName)Get the description for the given option name.doublegetDouble(java.lang.String optionName, double defaultValue)Get the double value for the given option name.<T extends java.lang.Enum<T>>
 TgetEnum(java.lang.String optionName, T defaultValue)Get the Enum value for the given option name.java.io.FilegetFile(java.lang.String optionName, java.io.File defaultValue)Get the File for the given option name.floatgetFloat(java.lang.String optionName, float defaultValue)Get the float value for the given option name.java.awt.FontgetFont(java.lang.String optionName, java.awt.Font defaultValue)Get the Font for the given option name.HelpLocationgetHelpLocation(java.lang.String optionName)Get the location for where help can be found for the option with the given name.java.lang.StringgetID(java.lang.String optionName)Returns a unique id for option in this options with the given name.intgetInt(java.lang.String optionName, int defaultValue)Get the int value for the given option name.javax.swing.KeyStrokegetKeyStroke(java.lang.String optionName, javax.swing.KeyStroke defaultValue)Get the KeyStrokg for the given action name.java.util.List<java.lang.String>getLeafOptionNames()Returns a list of option names that immediately fall under this options.longgetLong(java.lang.String optionName, long defaultValue)Get the long value for the given option name.java.lang.StringgetName()Get the name of this options object.java.lang.ObjectgetObject(java.lang.String optionName, java.lang.Object defaultValue)Get the object value; called when the options dialog is being populated.OptiongetOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue)java.util.List<java.lang.String>getOptionNames()Get the list of option names.OptionsgetOptions(java.lang.String path)Returns a Options object that is a sub-options of this options.OptionsEditorgetOptionsEditor()Get the editor that will handle editing all the values in this options or sub group of options.OptionsEditorgetOptionsEditor(java.lang.String categoryPath)HelpLocationgetOptionsHelpLocation()Returns the HelpLocation for this entire Options object.java.beans.PropertyEditorgetPropertyEditor(java.lang.String optionName)Get the property editor for the option with the given name.java.beans.PropertyEditorgetRegisteredPropertyEditor(java.lang.String optionName)Get the property editor that was registered for the specific option with the given name.java.lang.StringgetString(java.lang.String optionName, java.lang.String defaultValue)Get the string value for the given option name.OptionTypegetType(java.lang.String optionName)Returns the OptionType of the given option.java.lang.StringgetValueAsString(java.lang.String optionName)Returns the value as a string for the given option.booleanisAlias(java.lang.String aliasName)ReturnsbooleanisDefaultValue(java.lang.String optionName)Returns true if the option with the given name's current value is the default value.booleanisRegistered(java.lang.String optionName)Returns true if the specified option has been registered.protected abstract booleannotifyOptionChanged(java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue)voidputObject(java.lang.String optionName, java.lang.Object newValue)Put the object value.voidputObject(java.lang.String optionName, java.lang.Object newValue, OptionType type)voidregisterOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue, HelpLocation help, java.lang.String description)Registers an option with a description, help location, and a optional default value.voidregisterOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue, HelpLocation help, java.lang.String description, java.beans.PropertyEditor editor)Registers an option with a description, help location, and a optional default value.voidregisterOption(java.lang.String optionName, java.lang.Object defaultValue, HelpLocation help, java.lang.String description)Registers an option with a description, help location, and a default value without specifying the option type.voidregisterOptionsEditor(OptionsEditor editor)Register the options editor that will handle the editing for all the options or a sub group of options.voidregisterOptionsEditor(java.lang.String categoryPath, OptionsEditor editor)voidremoveOption(java.lang.String optionName)Remove the option name.voidrestoreDefaultValue(java.lang.String optionName)Restores the option denoted by the given name to its default value.voidrestoreDefaultValues()Restores all options contained herein to their default values.voidsetBoolean(java.lang.String optionName, boolean value)Sets the boolean value for the option.voidsetByteArray(java.lang.String optionName, byte[] value)Sets the byte[] value for the given option name.voidsetCategoryHelpLocation(java.lang.String categoryPath, HelpLocation helpLocation)voidsetColor(java.lang.String optionName, java.awt.Color value)Sets the Color value for the optionvoidsetCustomOption(java.lang.String optionName, CustomOption value)Sets the Custom option value for the option.voidsetDate(java.lang.String optionName, java.util.Date value)Sets the Date value for the option.voidsetDouble(java.lang.String optionName, double value)Sets the double value for the option.<T extends java.lang.Enum<T>>
 voidsetEnum(java.lang.String optionName, T value)Set the Enum value for the option.voidsetFile(java.lang.String optionName, java.io.File value)Sets the File value for the option.voidsetFloat(java.lang.String optionName, float value)Sets the float value for the option.voidsetFont(java.lang.String optionName, java.awt.Font value)Sets the Font value for the optionvoidsetInt(java.lang.String optionName, int value)Sets the int value for the option.voidsetKeyStroke(java.lang.String optionName, javax.swing.KeyStroke value)Sets the KeyStroke value for the optionvoidsetLong(java.lang.String optionName, long value)Sets the long value for the option.voidsetName(java.lang.String newName)Sets the name for this Options object.voidsetOptionsHelpLocation(HelpLocation helpLocation)Set the location for where help can be found for this entire options object.voidsetString(java.lang.String optionName, java.lang.String value)Set the String value for the option.java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
SUPPORTED_CLASSESpublic static final java.util.Set<java.lang.Class<?>> SUPPORTED_CLASSES 
 - 
nameprotected java.lang.String name 
 - 
valueMapprotected java.util.Map<java.lang.String,Option> valueMap 
 - 
listenersprotected WeakSet<OptionsChangeListener> listeners 
 - 
optionsEditorMapprotected java.util.Map<java.lang.String,OptionsEditor> optionsEditorMap 
 - 
categoryHelpMapprotected java.util.Map<java.lang.String,HelpLocation> categoryHelpMap 
 - 
aliasMapprotected java.util.Map<java.lang.String,AbstractOptions.AliasBinding> aliasMap 
 
- 
 - 
Method Detail- 
createRegisteredOptionprotected abstract Option createRegisteredOption(java.lang.String optionName, OptionType type, java.lang.String description, HelpLocation help, java.lang.Object defaultValue, java.beans.PropertyEditor editor) 
 - 
createUnregisteredOptionprotected abstract Option createUnregisteredOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue) 
 - 
notifyOptionChangedprotected abstract boolean notifyOptionChanged(java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue)
 - 
registerOptionsEditorpublic void registerOptionsEditor(java.lang.String categoryPath, OptionsEditor editor)
 - 
getOptionsEditorpublic OptionsEditor getOptionsEditor(java.lang.String categoryPath) 
 - 
disposepublic void dispose() 
 - 
getNamepublic java.lang.String getName() Description copied from interface:OptionsGet the name of this options object.
 - 
setNamepublic void setName(java.lang.String newName) Sets the name for this Options object. Used when updating old options names to new names.- Parameters:
- newName- the new name for this options object.
 
 - 
registerOptionpublic void registerOption(java.lang.String optionName, java.lang.Object defaultValue, HelpLocation help, java.lang.String description)Description copied from interface:OptionsRegisters an option with a description, help location, and a default value without specifying the option type. This form requires that the default value not be null so that the option type can be inferred from the default value.- Specified by:
- registerOptionin interface- Options
- Parameters:
- optionName- the name of the option being registered.
- defaultValue- the defaultValue for the option. The default value must not be null so that the OptionType can be determined. If the default value should be null, use- Options.registerOption(String, OptionType, Object, HelpLocation, String)
- help- the HelpLocation for this option.
- description- a description of the option.
 
 - 
registerOptionpublic void registerOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue, HelpLocation help, java.lang.String description)Description copied from interface:OptionsRegisters an option with a description, help location, and a optional default value. With an optional default value, an OptionType must be passed as it is otherwise derived from the default value.- Specified by:
- registerOptionin interface- Options
- Parameters:
- optionName- the name of the option being registered.
- type- the OptionType for this options.
- defaultValue- the defaultValue for the option. In this version of the method, the default value may be null.
- help- the HelpLocation for this option.
- description- a description of the option.
 
 - 
registerOptionpublic void registerOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue, HelpLocation help, java.lang.String description, java.beans.PropertyEditor editor)Description copied from interface:OptionsRegisters an option with a description, help location, and a optional default value. With an optional default value, an OptionType must be passed as it is otherwise derived from the default value.- Specified by:
- registerOptionin interface- Options
- Parameters:
- optionName- the name of the option being registered.
- type- the OptionType for this options.
- defaultValue- the defaultValue for the option. In this version of the method, the default value may be null.
- help- the HelpLocation for this option.
- description- a description of the option.
- editor- an optional custom editor for this property. Note if the option is a custom option, then the property editor can't be null;
 
 - 
removeOptionpublic void removeOption(java.lang.String optionName) Description copied from interface:OptionsRemove the option name.- Specified by:
- removeOptionin interface- Options
- Parameters:
- optionName- name of option to remove
 
 - 
getOptionNamespublic java.util.List<java.lang.String> getOptionNames() Description copied from interface:OptionsGet the list of option names. This method will return the names (paths) of all options contained in this options object or below. For example, if the options has ("aaa", "bbb", "ccc.ddd"), all three will be returned. theOptions.getLeafOptionNames()method will return only the "aaa" and "bbb" names.- Specified by:
- getOptionNamesin interface- Options
- Returns:
- the list of all option names(paths) under this options.
 
 - 
getObjectpublic java.lang.Object getObject(java.lang.String optionName, java.lang.Object defaultValue)Description copied from interface:OptionsGet the object value; called when the options dialog is being populated.
 - 
getOptionpublic Option getOption(java.lang.String optionName, OptionType type, java.lang.Object defaultValue) 
 - 
putObjectpublic void putObject(java.lang.String optionName, java.lang.Object newValue)Description copied from interface:OptionsPut the object value. If the option exists, the type must match the type of the existing object.
 - 
putObjectpublic void putObject(java.lang.String optionName, java.lang.Object newValue, OptionType type)
 - 
getTypepublic OptionType getType(java.lang.String optionName) Description copied from interface:OptionsReturns the OptionType of the given option.
 - 
getBooleanpublic boolean getBoolean(java.lang.String optionName, boolean defaultValue)Description copied from interface:OptionsGet the boolean value for the given option name.- Specified by:
- getBooleanin interface- Options
- Parameters:
- optionName- option name
- defaultValue- value that is stored and returned if there is no option with the given name.
- Returns:
- boolean option value
 
 - 
getByteArraypublic byte[] getByteArray(java.lang.String optionName, byte[] defaultValue)Description copied from interface:OptionsGet the byte array for the given option name.- Specified by:
- getByteArrayin interface- Options
- Parameters:
- optionName- option name
- defaultValue- value that is stored and returned if there is no option with the given name
- Returns:
- byte[] byte array value
 
 - 
getIntpublic int getInt(java.lang.String optionName, int defaultValue)Description copied from interface:OptionsGet the int value for the given option name.
 - 
getDoublepublic double getDouble(java.lang.String optionName, double defaultValue)Description copied from interface:OptionsGet the double value for the given option name.
 - 
getFloatpublic float getFloat(java.lang.String optionName, float defaultValue)Description copied from interface:OptionsGet the float value for the given option name.
 - 
getLongpublic long getLong(java.lang.String optionName, long defaultValue)Description copied from interface:OptionsGet the long value for the given option name.
 - 
getCustomOptionpublic CustomOption getCustomOption(java.lang.String optionName, CustomOption defaultValue) Description copied from interface:OptionsGet the custom option value for the given option name.- Specified by:
- getCustomOptionin interface- Options
- Parameters:
- optionName- option name
- defaultValue- value that is stored and returned if there is no option with the given name
- Returns:
- WrappedOption value for the option
 
 - 
getColorpublic java.awt.Color getColor(java.lang.String optionName, java.awt.Color defaultValue)Description copied from interface:OptionsGet the Color for the given option name.
 - 
getFilepublic java.io.File getFile(java.lang.String optionName, java.io.File defaultValue)Description copied from interface:OptionsGet the File for the given option name.
 - 
getFontpublic java.awt.Font getFont(java.lang.String optionName, java.awt.Font defaultValue)Description copied from interface:OptionsGet the Font for the given option name.
 - 
getDatepublic java.util.Date getDate(java.lang.String optionName, java.util.Date defaultValue)Description copied from interface:OptionsGet the Date for the given option name.
 - 
getKeyStrokepublic javax.swing.KeyStroke getKeyStroke(java.lang.String optionName, javax.swing.KeyStroke defaultValue)Description copied from interface:OptionsGet the KeyStrokg for the given action name.- Specified by:
- getKeyStrokein interface- Options
- Parameters:
- optionName- the option name
- defaultValue- value that is stored and returned if there is no option with the given name
- Returns:
- KeyStroke option
 
 - 
getStringpublic java.lang.String getString(java.lang.String optionName, java.lang.String defaultValue)Description copied from interface:OptionsGet the string value for the given option name.
 - 
getEnumpublic <T extends java.lang.Enum<T>> T getEnum(java.lang.String optionName, T defaultValue)Description copied from interface:OptionsGet the Enum value for the given option name.
 - 
setLongpublic void setLong(java.lang.String optionName, long value)Description copied from interface:OptionsSets the long value for the option.
 - 
setBooleanpublic void setBoolean(java.lang.String optionName, boolean value)Description copied from interface:OptionsSets the boolean value for the option.- Specified by:
- setBooleanin interface- Options
- Parameters:
- optionName- name of the option
- value- value of the option
 
 - 
setIntpublic void setInt(java.lang.String optionName, int value)Description copied from interface:OptionsSets the int value for the option.
 - 
setDoublepublic void setDouble(java.lang.String optionName, double value)Description copied from interface:OptionsSets the double value for the option.
 - 
setFloatpublic void setFloat(java.lang.String optionName, float value)Description copied from interface:OptionsSets the float value for the option.
 - 
setCustomOptionpublic void setCustomOption(java.lang.String optionName, CustomOption value)Description copied from interface:OptionsSets the Custom option value for the option.- Specified by:
- setCustomOptionin interface- Options
- Parameters:
- optionName- name of the option
- value- the value
 
 - 
setByteArraypublic void setByteArray(java.lang.String optionName, byte[] value)Description copied from interface:OptionsSets the byte[] value for the given option name.- Specified by:
- setByteArrayin interface- Options
- Parameters:
- optionName- the name of the option on which to save bytes.
- value- the value
 
 - 
setFilepublic void setFile(java.lang.String optionName, java.io.File value)Description copied from interface:OptionsSets the File value for the option.
 - 
setColorpublic void setColor(java.lang.String optionName, java.awt.Color value)Description copied from interface:OptionsSets the Color value for the option
 - 
setFontpublic void setFont(java.lang.String optionName, java.awt.Font value)Description copied from interface:OptionsSets the Font value for the option
 - 
setDatepublic void setDate(java.lang.String optionName, java.util.Date value)Description copied from interface:OptionsSets the Date value for the option.
 - 
setKeyStrokepublic void setKeyStroke(java.lang.String optionName, javax.swing.KeyStroke value)Description copied from interface:OptionsSets the KeyStroke value for the option- Specified by:
- setKeyStrokein interface- Options
- Parameters:
- optionName- name of the option
- value- KeyStroke to set
 
 - 
setStringpublic void setString(java.lang.String optionName, java.lang.String value)Description copied from interface:OptionsSet the String value for the option.
 - 
setEnumpublic <T extends java.lang.Enum<T>> void setEnum(java.lang.String optionName, T value)Description copied from interface:OptionsSet the Enum value for the option.
 - 
getDefaultValuepublic java.lang.Object getDefaultValue(java.lang.String optionName) Description copied from interface:OptionsReturns the default value for the given option.- Specified by:
- getDefaultValuein interface- Options
- Parameters:
- optionName- the name of the option for which to retrieve the default value.
- Returns:
- the default value for the given option.
 
 - 
getPropertyEditorpublic java.beans.PropertyEditor getPropertyEditor(java.lang.String optionName) Description copied from interface:OptionsGet the property editor for the option with the given name. Note: This method must be called from the swing thread.- Specified by:
- getPropertyEditorin interface- Options
- Parameters:
- optionName- the option name
- Returns:
- either the PropertyEditor that was registered for this option or a default editor for the property type if one can be found; otherwise null.
 
 - 
getRegisteredPropertyEditorpublic java.beans.PropertyEditor getRegisteredPropertyEditor(java.lang.String optionName) Description copied from interface:OptionsGet the property editor that was registered for the specific option with the given name. Unlike the getPropertyEditor() method, this method does not have to be called from the swing thread- Specified by:
- getRegisteredPropertyEditorin interface- Options
- Parameters:
- optionName- the option name
- Returns:
- the PropertyEditor that was registered for this option.
 
 - 
containspublic boolean contains(java.lang.String optionName) Description copied from interface:OptionsReturn true if a option exists with the given name.
 - 
getDescriptionpublic java.lang.String getDescription(java.lang.String optionName) Description copied from interface:OptionsGet the description for the given option name.- Specified by:
- getDescriptionin interface- Options
- Parameters:
- optionName- name of the option
- Returns:
- null if the description or option name does not exist
 
 - 
getHelpLocationpublic HelpLocation getHelpLocation(java.lang.String optionName) Description copied from interface:OptionsGet the location for where help can be found for the option with the given name.- Specified by:
- getHelpLocationin interface- Options
- Parameters:
- optionName- name of the option
- Returns:
- null if the help location was not set on the option
 
 - 
isRegisteredpublic boolean isRegistered(java.lang.String optionName) Description copied from interface:OptionsReturns true if the specified option has been registered. Only registered names are saved.- Specified by:
- isRegisteredin interface- Options
- Parameters:
- optionName- the option name
- Returns:
- true if registered
 
 - 
isDefaultValuepublic boolean isDefaultValue(java.lang.String optionName) Description copied from interface:OptionsReturns true if the option with the given name's current value is the default value.- Specified by:
- isDefaultValuein interface- Options
- Parameters:
- optionName- the name of the option.
- Returns:
- true if the options has its current value equal to its default value.
 
 - 
restoreDefaultValuespublic void restoreDefaultValues() Description copied from interface:OptionsRestores all options contained herein to their default values.- Specified by:
- restoreDefaultValuesin interface- Options
- See Also:
- Options.restoreDefaultValue(String)
 
 - 
restoreDefaultValuepublic void restoreDefaultValue(java.lang.String optionName) Description copied from interface:OptionsRestores the option denoted by the given name to its default value.- Specified by:
- restoreDefaultValuein interface- Options
- Parameters:
- optionName- The name of the option to restore
- See Also:
- Options.restoreDefaultValues()
 
 - 
getChildOptionspublic java.util.List<Options> getChildOptions() Description copied from interface:OptionsReturns a list of Options objects that are nested one level down from this Options object.- Specified by:
- getChildOptionsin interface- Options
- Returns:
- a list of Options objects that are nested one level down from this Options object.
 
 - 
getOptionspublic Options getOptions(java.lang.String path) Description copied from interface:OptionsReturns a Options object that is a sub-options of this options.Note: the option path can have Options.DELIMITERcharacters which will be used to create a hierarchy with each element in the path resulting in sub-option of the previous path element.- Specified by:
- getOptionsin interface- Options
- Parameters:
- path- the path for the sub-options object
- Returns:
- an Options object that is a sub-options of this options
 
 - 
setOptionsHelpLocationpublic void setOptionsHelpLocation(HelpLocation helpLocation) Description copied from interface:OptionsSet the location for where help can be found for this entire options object.- Specified by:
- setOptionsHelpLocationin interface- Options
- Parameters:
- helpLocation- location for help on the option
 
 - 
getOptionsHelpLocationpublic HelpLocation getOptionsHelpLocation() Description copied from interface:OptionsReturns the HelpLocation for this entire Options object.- Specified by:
- getOptionsHelpLocationin interface- Options
- Returns:
- the HelpLocation for this entire Options object.
 
 - 
registerOptionsEditorpublic void registerOptionsEditor(OptionsEditor editor) Description copied from interface:OptionsRegister the options editor that will handle the editing for all the options or a sub group of options.- Specified by:
- registerOptionsEditorin interface- Options
- Parameters:
- editor- the custom editor panel to be used to edit the options or sub group of options.
 
 - 
getOptionsEditorpublic OptionsEditor getOptionsEditor() Description copied from interface:OptionsGet the editor that will handle editing all the values in this options or sub group of options.- Specified by:
- getOptionsEditorin interface- Options
- Returns:
- null if no options editor was registered
 
 - 
createAliaspublic void createAlias(java.lang.String aliasName, Options options, java.lang.String optionsName)Description copied from interface:OptionsCreate an alias in this options for an existing option in some other options object.- Specified by:
- createAliasin interface- Options
- Parameters:
- aliasName- the name within this options object that will actually refer to some other options object.
- options- the options object that has the actual option.
- optionsName- the name within the given options object of the actual option.
 
 - 
isAliaspublic boolean isAlias(java.lang.String aliasName) Description copied from interface:OptionsReturns
 - 
setCategoryHelpLocationpublic void setCategoryHelpLocation(java.lang.String categoryPath, HelpLocation helpLocation)
 - 
getCategoryHelpLocationpublic HelpLocation getCategoryHelpLocation(java.lang.String categoryPath) 
 - 
getIDpublic java.lang.String getID(java.lang.String optionName) Description copied from interface:OptionsReturns a unique id for option in this options with the given name. This will be the full path name to the root options object.
 - 
getValueAsStringpublic java.lang.String getValueAsString(java.lang.String optionName) Description copied from interface:OptionsReturns the value as a string for the given option.- Specified by:
- getValueAsStringin interface- Options
- Parameters:
- optionName- the name of the option for which to retrieve the value as a string
- Returns:
- the value as a string for the given option.
 
 - 
getDefaultValueAsStringpublic java.lang.String getDefaultValueAsString(java.lang.String optionName) Description copied from interface:OptionsReturns the default value as a string for the given option.- Specified by:
- getDefaultValueAsStringin interface- Options
- Parameters:
- optionName- the name of the option for which to retrieve the default value as a string
- Returns:
- the default value as a string for the given option.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getLeafOptionNamespublic java.util.List<java.lang.String> getLeafOptionNames() Description copied from interface:OptionsReturns a list of option names that immediately fall under this options. For example, if this options object had the following options named ("a", "b", "c.d"), only "a" and "b" would be returned. The "c.d" leaf option name could be returned by getOptions("c").getLeafOptionNames()- Specified by:
- getLeafOptionNamesin interface- Options
- Returns:
- the list of the names of the options that are immediate children of this options object.
 
 - 
findPropertyEditorpublic static java.beans.PropertyEditor findPropertyEditor(java.lang.Class<?> originalValueClass) 
 
- 
 
-