Package io.jenkins.plugins.datatables
Enum Class TableConfiguration.SelectStyle
java.lang.Object
java.lang.Enum<TableConfiguration.SelectStyle>
io.jenkins.plugins.datatables.TableConfiguration.SelectStyle
- All Implemented Interfaces:
Serializable
,Comparable<TableConfiguration.SelectStyle>
,Constable
- Enclosing class:
TableConfiguration
The possible values of the select.style option,
which is used for enabling the selection for datatables and setting its style (the default is
OS
.- Author:
- Florian Orendi
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelection can only be performed via the API.Multiple items can be selected.Operating System (OS) style selection.Only a single item can be selected, any other selected items will be automatically deselected when a new item is selected. -
Method Summary
Modifier and TypeMethodDescriptiongetStyle()
Returns the enum constant of this class with the specified name.static TableConfiguration.SelectStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
API
Selection can only be performed via the API. -
SINGLE
Only a single item can be selected, any other selected items will be automatically deselected when a new item is selected. -
MULTI
Multiple items can be selected. Selection is performed by simply clicking on the items to be selected. -
OS
Operating System (OS) style selection. This is the most comprehensive option and provides complex behaviours such as ctrl/cmd clicking to select / deselect individual items, shift clicking to select ranges and an unmodified click to select a single item. -
MULTI_SHIFT
-
-
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
-
getStyle
-