Package ghidra.util.table.field
Class FunctionThunkSettingsDefinition
- java.lang.Object
-
- ghidra.util.table.field.FunctionThunkSettingsDefinition
-
- All Implemented Interfaces:
BooleanSettingsDefinition
,SettingsDefinition
public class FunctionThunkSettingsDefinition extends java.lang.Object implements BooleanSettingsDefinition
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionThunkSettingsDefinition
DEF
-
Constructor Summary
Constructors Constructor Description FunctionThunkSettingsDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear(Settings settings)
Removes any values in the given settings object assocated with this settings definitionvoid
copySetting(Settings srcSettings, Settings destSettings)
Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.java.lang.String
getDescription()
Returns a description of this settings definitionjava.lang.String
getName()
Returns the name of this SettingsDefinitionboolean
getValue(Settings settings)
gets the value for this SettingsDefinition given a Settings object.boolean
hasValue(Settings settings)
void
setValue(Settings settings, boolean value)
Sets the given value into the given settings object using this settingsDefinition as the key.
-
-
-
Field Detail
-
DEF
public static final FunctionThunkSettingsDefinition DEF
-
-
Method Detail
-
getValue
public boolean getValue(Settings settings)
Description copied from interface:BooleanSettingsDefinition
gets the value for this SettingsDefinition given a Settings object.- Specified by:
getValue
in interfaceBooleanSettingsDefinition
- Parameters:
settings
- the set of Settings values for a particular location or null for default value.- Returns:
- the values for this settings object given the context.
-
setValue
public void setValue(Settings settings, boolean value)
Description copied from interface:BooleanSettingsDefinition
Sets the given value into the given settings object using this settingsDefinition as the key.- Specified by:
setValue
in interfaceBooleanSettingsDefinition
- Parameters:
settings
- the settings object to store the value in.value
- the value to store in the settings object using this settingsDefinition as the key.
-
copySetting
public void copySetting(Settings srcSettings, Settings destSettings)
Description copied from interface:SettingsDefinition
Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.- Specified by:
copySetting
in interfaceSettingsDefinition
- Parameters:
srcSettings
- the settings to be copieddestSettings
- the settings to be updated.
-
clear
public void clear(Settings settings)
Description copied from interface:SettingsDefinition
Removes any values in the given settings object assocated with this settings definition- Specified by:
clear
in interfaceSettingsDefinition
- Parameters:
settings
- the settings object to be cleared.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:SettingsDefinition
Returns a description of this settings definition- Specified by:
getDescription
in interfaceSettingsDefinition
-
getName
public java.lang.String getName()
Description copied from interface:SettingsDefinition
Returns the name of this SettingsDefinition- Specified by:
getName
in interfaceSettingsDefinition
-
hasValue
public boolean hasValue(Settings settings)
- Specified by:
hasValue
in interfaceSettingsDefinition
-
-