Package ghidra.features.bsim.gui.filters
Interface BSimValueEditor
- All Known Implementing Classes:
BooleanBSimValueEditor,MultiChoiceBSimValueEditor,StringBSimValueEditor
public interface BSimValueEditor
Interface for BSim filter value editors. Some BSim editors can support multiple values, so the
getValues, setValues methods all work on lists of strings.
-
Field Summary
Fields -
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.
-
Field Details
-
FILTER_DELIMETER
- See Also:
-
VALID_COLOR
-
INVALID_COLOR
-
-
Method Details
-
setValues
Sets the editor to the given string values. They are displayed in the GUI as comma separated values.- Parameters:
values- the values to be used as the current editor values
-
getValues
Returns the current set of editor values.- Returns:
- the current set of editor values
-
getComponent
JComponent getComponent()returns the GUI component used to allow the user to see and change editor values.- Returns:
- the GUI component used to allow the user to see and change editor values
-
hasValidValues
boolean hasValidValues()Returns true if the editor has valid values as determined by the editor's correspondingBSimFilterType.isValidValue(java.lang.String).- Returns:
- true if the editor has valid values as determined by the editor's corresponding filter type.
-