public interface Selectable<S extends Selectable<S>> extends Component<S>
Modifier and Type | Interface and Description |
---|---|
static class |
Selectable.Attributes |
static interface |
Selectable.ConfigureSelectable
A functional interface to provide a functional entry-point to
Selectable . |
static class |
Selectable.SelectableTypes |
Modifier and Type | Method and Description |
---|---|
default S |
multiPageSelectable()
Configure the component with multi-page selection behavior.
|
default S |
multiPageSelectableWithExclusions()
Configure the component with multi-page selection with exclusions behavior.
|
default S |
multipleSelectable()
Configure the component with multiple selection behavior.
|
default S |
notSelectable()
Disabled selectable behavior for the component.
|
default S |
selectable()
Configure the component with the default selectable behavior, i.e.
|
default S |
selectable(boolean isSelectable)
Sets whether or not the component supports selectable behavior.
|
default S |
selectable(Selectable.ConfigureSelectable fn)
Configure selection behavior for the component.
|
default S |
selectableType(String selectableType)
Sets the selectable type to indicate the type of selectable behavior supported.
|
default S |
singleSelectable()
Configure the component with single selection behavior.
|
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
default S selectable(Selectable.ConfigureSelectable fn)
grid.selectable(selectable -> selectable.multipleSelection());
fn
- the function to configure the selectable componentdefault S selectable(boolean isSelectable)
isSelectable
- is selectable or notdefault S selectable()
default S notSelectable()
default S selectableType(String selectableType)
selectableType
- the type, usually one of Selectable.SelectableTypes
default S singleSelectable()
default S multipleSelectable()
default S multiPageSelectable()
default S multiPageSelectableWithExclusions()
Copyright © 2021. All rights reserved.