Package ghidra.framework.options
Class Option
- java.lang.Object
-
- ghidra.framework.options.Option
-
public abstract class Option extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Option(java.lang.String name, OptionType optionType, java.lang.String description, HelpLocation helpLocation, java.lang.Object defaultValue, boolean isRegistered, java.beans.PropertyEditor editor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
doSetCurrentValue(java.lang.Object value)
abstract java.lang.Object
getCurrentValue()
java.lang.Object
getDefaultValue()
java.lang.String
getDescription()
HelpLocation
getHelpLocation()
java.lang.String
getInceptionInformation()
java.lang.String
getName()
OptionType
getOptionType()
java.beans.PropertyEditor
getPropertyEditor()
java.lang.Object
getValue(java.lang.Object passedInDefaultValue)
boolean
hasValue()
boolean
isDefault()
boolean
isRegistered()
void
restoreDefault()
void
setCurrentValue(java.lang.Object value)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Option
protected Option(java.lang.String name, OptionType optionType, java.lang.String description, HelpLocation helpLocation, java.lang.Object defaultValue, boolean isRegistered, java.beans.PropertyEditor editor)
-
-
Method Detail
-
getCurrentValue
public abstract java.lang.Object getCurrentValue()
-
doSetCurrentValue
public abstract void doSetCurrentValue(java.lang.Object value)
-
setCurrentValue
public void setCurrentValue(java.lang.Object value)
-
getName
public java.lang.String getName()
-
getPropertyEditor
public java.beans.PropertyEditor getPropertyEditor()
-
getHelpLocation
public HelpLocation getHelpLocation()
-
hasValue
public boolean hasValue()
-
getDescription
public java.lang.String getDescription()
-
getValue
public java.lang.Object getValue(java.lang.Object passedInDefaultValue)
-
isRegistered
public boolean isRegistered()
-
restoreDefault
public void restoreDefault()
-
isDefault
public boolean isDefault()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDefaultValue
public java.lang.Object getDefaultValue()
-
getInceptionInformation
public java.lang.String getInceptionInformation()
-
getOptionType
public OptionType getOptionType()
-
-