Class StringBSimValueEditor

java.lang.Object
ghidra.features.bsim.gui.filters.StringBSimValueEditor
All Implemented Interfaces:
BSimValueEditor

public class StringBSimValueEditor extends Object implements BSimValueEditor
A BSimValueEditor for filters with arbitrary string values. Supports comma separated values.
  • Constructor Details

  • Method Details

    • documentChanged

      protected void documentChanged()
    • setValues

      public void setValues(List<String> values)
      Description copied from interface: BSimValueEditor
      Sets the editor to the given string values. They are displayed in the GUI as comma separated values.
      Specified by:
      setValues in interface BSimValueEditor
      Parameters:
      values - the values to be used as the current editor values
    • getValues

      public List<String> getValues()
      Description copied from interface: BSimValueEditor
      Returns the current set of editor values.
      Specified by:
      getValues in interface BSimValueEditor
      Returns:
      the current set of editor values
    • getComponent

      public JComponent getComponent()
      Description copied from interface: BSimValueEditor
      returns the GUI component used to allow the user to see and change editor values.
      Specified by:
      getComponent in interface BSimValueEditor
      Returns:
      the GUI component used to allow the user to see and change editor values
    • hasValidValues

      public boolean hasValidValues()
      Description copied from interface: BSimValueEditor
      Returns true if the editor has valid values as determined by the editor's corresponding BSimFilterType.isValidValue(java.lang.String).
      Specified by:
      hasValidValues in interface BSimValueEditor
      Returns:
      true if the editor has valid values as determined by the editor's corresponding filter type.