Package ghidra.util.table.field
Class FunctionInlineSettingsDefinition
java.lang.Object
ghidra.util.table.field.FunctionInlineSettingsDefinition
- All Implemented Interfaces:
BooleanSettingsDefinition,SettingsDefinition
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves any values in the given settings object assocated with this settings definitionvoidcopySetting(Settings srcSettings, Settings destSettings) Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.Returns a description of this settings definitiongetName()Returns the display name of this SettingsDefinitionGet theSettingskey which is used when storing a key/value entry.booleangets the value for this SettingsDefinition given a Settings object.getValueString(Settings settings) Get the setting value as a string which corresponds to this definition.booleanDetermine if a setting value has been storedvoidSets the given value into the given settings object using this settingsDefinition as the key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.docking.settings.BooleanSettingsDefinition
hasSameValue
-
Field Details
-
DEF
-
-
Constructor Details
-
FunctionInlineSettingsDefinition
public FunctionInlineSettingsDefinition()
-
-
Method Details
-
getValue
Description copied from interface:BooleanSettingsDefinitiongets the value for this SettingsDefinition given a Settings object.- Specified by:
getValuein 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.
-
getValueString
Description copied from interface:SettingsDefinitionGet the setting value as a string which corresponds to this definition. A default value string will be returned if a setting has not been stored.- Specified by:
getValueStringin interfaceSettingsDefinition- Parameters:
settings- settings- Returns:
- value string or null if not set and default has not specified by this definition
-
setValue
Description copied from interface:BooleanSettingsDefinitionSets the given value into the given settings object using this settingsDefinition as the key.- Specified by:
setValuein 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
Description copied from interface:SettingsDefinitionCopies any setting value associated with this settings definition from the srcSettings settings to the destSettings.- Specified by:
copySettingin interfaceSettingsDefinition- Parameters:
srcSettings- the settings to be copieddestSettings- the settings to be updated.
-
clear
Description copied from interface:SettingsDefinitionRemoves any values in the given settings object assocated with this settings definition- Specified by:
clearin interfaceSettingsDefinition- Parameters:
settings- the settings object to be cleared.
-
getDescription
Description copied from interface:SettingsDefinitionReturns a description of this settings definition- Specified by:
getDescriptionin interfaceSettingsDefinition- Returns:
- setting description
-
getName
Description copied from interface:SettingsDefinitionReturns the display name of this SettingsDefinition- Specified by:
getNamein interfaceSettingsDefinition- Returns:
- display name for setting
-
getStorageKey
Description copied from interface:SettingsDefinitionGet theSettingskey which is used when storing a key/value entry.- Specified by:
getStorageKeyin interfaceSettingsDefinition- Returns:
- settings storage key
-
hasValue
Description copied from interface:SettingsDefinitionDetermine if a setting value has been stored- Specified by:
hasValuein interfaceSettingsDefinition- Parameters:
settings- stored settings- Returns:
- true if a value has been stored, else false
-