Class CheckBoxParam
java.lang.Object
io.deephaven.query.parameterized.impl.ui.CheckBoxParam
- All Implemented Interfaces:
ParamWidget
A simple
ParamWidget that displays a boolean as a checkbox.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull JComponentGet the ui component for rendering@NotNull ParametergetParam()Get theParameterobject for this widgetString[]Get the text representation of the current parameter valuevoidSet the current value to the specified value or set of values..booleanvalidate()Check if theParametermeets itsConstraintcriteria.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.query.parameterized.impl.ui.ParamWidget
close
-
Constructor Details
-
CheckBoxParam
-
-
Method Details
-
getValues
Description copied from interface:ParamWidgetGet the text representation of the current parameter value- Specified by:
getValuesin interfaceParamWidget- Returns:
- the string representation of the value
-
setValue
Description copied from interface:ParamWidgetSet the current value to the specified value or set of values..- Specified by:
setValuein interfaceParamWidget- Parameters:
value- the value to set
-
getParam
Description copied from interface:ParamWidgetGet theParameterobject for this widget- Specified by:
getParamin interfaceParamWidget- Returns:
- the parameter
-
validate
public boolean validate()Description copied from interface:ParamWidgetCheck if theParametermeets itsConstraintcriteria.- Specified by:
validatein interfaceParamWidget- Returns:
- true if the value is valid.
-
getComponent
Description copied from interface:ParamWidgetGet the ui component for rendering- Specified by:
getComponentin interfaceParamWidget- Returns:
- the component
-