Package ghidra.docking.settings
Interface BooleanSettingsDefinition
-
- All Superinterfaces:
SettingsDefinition
- All Known Implementing Classes:
FunctionInlineSettingsDefinition,FunctionNoReturnSettingsDefinition,FunctionThunkSettingsDefinition
public interface BooleanSettingsDefinition extends SettingsDefinition
The inteface for SettingsDefinitions that have boolean values. SettingsDefinitions objects are used as keys into Settings objects that contain the values using a name-value type storage mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetValue(Settings settings)gets the value for this SettingsDefinition given a Settings object.voidsetValue(Settings settings, boolean value)Sets the given value into the given settings object using this settingsDefinition as the key.-
Methods inherited from interface ghidra.docking.settings.SettingsDefinition
clear, copySetting, getDescription, getName, hasValue
-
-
-
-
Method Detail
-
getValue
boolean getValue(Settings settings)
gets the value for this SettingsDefinition given a Settings object.- 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
void setValue(Settings settings, boolean value)
Sets the given value into the given settings object using this settingsDefinition as the key.- 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.
-
-