Package ghidra.util.table.field
Class FunctionNoReturnSettingsDefinition
- java.lang.Object
-
- ghidra.util.table.field.FunctionNoReturnSettingsDefinition
-
- All Implemented Interfaces:
BooleanSettingsDefinition,SettingsDefinition
public class FunctionNoReturnSettingsDefinition extends java.lang.Object implements BooleanSettingsDefinition
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionNoReturnSettingsDefinitionDEF
-
Constructor Summary
Constructors Constructor Description FunctionNoReturnSettingsDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(Settings settings)Removes 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.java.lang.StringgetDescription()Returns a description of this settings definitionjava.lang.StringgetName()Returns the name of this SettingsDefinitionbooleangetValue(Settings settings)gets the value for this SettingsDefinition given a Settings object.booleanhasValue(Settings settings)voidsetValue(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 FunctionNoReturnSettingsDefinition DEF
-
-
Method Detail
-
getValue
public boolean getValue(Settings settings)
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.
-
setValue
public void setValue(Settings settings, boolean value)
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
public void copySetting(Settings srcSettings, Settings destSettings)
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
public void clear(Settings settings)
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
public java.lang.String getDescription()
Description copied from interface:SettingsDefinitionReturns a description of this settings definition- Specified by:
getDescriptionin interfaceSettingsDefinition
-
getName
public java.lang.String getName()
Description copied from interface:SettingsDefinitionReturns the name of this SettingsDefinition- Specified by:
getNamein interfaceSettingsDefinition
-
hasValue
public boolean hasValue(Settings settings)
- Specified by:
hasValuein interfaceSettingsDefinition
-
-