Package ghidra.features.bsim.gui.filters
Class BooleanBSimValueEditor
java.lang.Object
ghidra.features.bsim.gui.filters.BooleanBSimValueEditor
- All Implemented Interfaces:
BSimValueEditor
A BSimValueEditor for boolean filter values.
-
Field Summary
Fields inherited from interface ghidra.features.bsim.gui.filters.BSimValueEditor
FILTER_DELIMETER, INVALID_COLOR, VALID_COLOR -
Constructor Summary
ConstructorsConstructorDescriptionBooleanBSimValueEditor(BSimFilterType filterType, List<String> initialValues, Callback listener) -
Method Summary
Modifier and TypeMethodDescriptionreturns the GUI component used to allow the user to see and change editor values.Returns the current set of editor values.booleanReturns true if the editor has valid values as determined by the editor's correspondingBSimFilterType.isValidValue(java.lang.String).voidSets the editor to the given string values.
-
Constructor Details
-
BooleanBSimValueEditor
public BooleanBSimValueEditor(BSimFilterType filterType, List<String> initialValues, Callback listener)
-
-
Method Details
-
setValues
Description copied from interface:BSimValueEditorSets the editor to the given string values. They are displayed in the GUI as comma separated values.- Specified by:
setValuesin interfaceBSimValueEditor- Parameters:
values- the values to be used as the current editor values
-
getValues
Description copied from interface:BSimValueEditorReturns the current set of editor values.- Specified by:
getValuesin interfaceBSimValueEditor- Returns:
- the current set of editor values
-
getComponent
Description copied from interface:BSimValueEditorreturns the GUI component used to allow the user to see and change editor values.- Specified by:
getComponentin interfaceBSimValueEditor- Returns:
- the GUI component used to allow the user to see and change editor values
-
hasValidValues
public boolean hasValidValues()Description copied from interface:BSimValueEditorReturns true if the editor has valid values as determined by the editor's correspondingBSimFilterType.isValidValue(java.lang.String).- Specified by:
hasValidValuesin interfaceBSimValueEditor- Returns:
- true if the editor has valid values as determined by the editor's corresponding filter type.
-