Class FixedListParam

java.lang.Object
io.deephaven.query.parameterized.impl.ui.FixedListParam
All Implemented Interfaces:
ParamWidget

public class FixedListParam extends Object implements ParamWidget
A ParamWidget that displays a selectable checkbox list of items from the table parameter
  • Constructor Details

    • FixedListParam

      public FixedListParam(Parameter parameter)
  • Method Details

    • getValues

      public String[] getValues()
      Description copied from interface: ParamWidget
      Get the text representation of the current parameter value
      Specified by:
      getValues in interface ParamWidget
      Returns:
      the string representation of the value
    • setValue

      public void setValue(String[] value)
      Description copied from interface: ParamWidget
      Set the current value to the specified value or set of values..
      Specified by:
      setValue in interface ParamWidget
      Parameters:
      value - the value to set
    • getParam

      @NotNull public @NotNull Parameter getParam()
      Description copied from interface: ParamWidget
      Get the Parameter object for this widget
      Specified by:
      getParam in interface ParamWidget
      Returns:
      the parameter
    • validate

      public boolean validate()
      Description copied from interface: ParamWidget
      Check if the Parameter meets its Constraint criteria.
      Specified by:
      validate in interface ParamWidget
      Returns:
      true if the value is valid.
    • getComponent

      @NotNull public @NotNull JComponent getComponent()
      Description copied from interface: ParamWidget
      Get the ui component for rendering
      Specified by:
      getComponent in interface ParamWidget
      Returns:
      the component
    • close

      public void close()
      Description copied from interface: ParamWidget
      Invoke to release any resources being held by the param widget. The default implementation does nothing.
      Specified by:
      close in interface ParamWidget