Package io.deephaven.query.parameterized
Enum Class DisplayType
- All Implemented Interfaces:
Serializable
,Comparable<DisplayType>
,java.lang.constant.Constable
This enum represents the various display types supported by the Parameterized Query library. Front ends will
make a best effort attempt to render the parameters of the query as the requested display type. If, for some reason
the front end can't display the parameter as the requested type it will fall back to Text
.
Note that parameters will be validated against their Constraint
s regardless of the used display type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn on/off checkboxA Control to pick a single String formatted Date in YYYY-mm-ddA Control to pick a date and time formatted in nanos since epochA parameter that displays it's values from a deephaven tableA Dropdown of items that allows a single selectionA list of items that allows users to add or remove items.A fixed List that allows one or more items to be selectedA simple text entry box -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayType
Returns the enum constant of this class with the specified name.static DisplayType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Text
A simple text entry box -
DropDown
A Dropdown of items that allows a single selection -
FixedList
A fixed List that allows one or more items to be selected -
EditableList
A list of items that allows users to add or remove items. -
CheckBox
An on/off checkbox -
DatePicker
A Control to pick a single String formatted Date in YYYY-mm-dd -
DateTimePicker
A Control to pick a date and time formatted in nanos since epoch -
DeephavenTable
A parameter that displays it's values from a deephaven table
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-