| Package | Description |
|---|---|
| org.dominokit.domino.ui.datatable.plugins.filter.header | |
| org.dominokit.domino.ui.forms |
| Modifier and Type | Method and Description |
|---|---|
SelectHeaderFilter |
SelectHeaderFilter.appendChild(SelectOption<String> selectOption)
adds a new option to the select
|
| Modifier and Type | Field and Description |
|---|---|
protected SelectOption<V> |
AbstractSelect.noneOption |
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<SelectOption<V>> |
AbstractSelect.options |
| Modifier and Type | Method and Description |
|---|---|
SelectOption<T> |
SelectOption.appendChild(org.jboss.elemento.IsElement<?> node) |
SelectOption<T> |
SelectOption.appendChild(elemental2.dom.Node node) |
static <T> SelectOption<T> |
SelectOption.create(T value,
String key) |
static <T> SelectOption<T> |
SelectOption.create(T value,
String key,
String displayValue) |
SelectOption<T> |
SelectOption.deselect()
Deselect the component if it is already selected
|
SelectOption<T> |
SelectOption.deselect(boolean silent)
deselect the component without triggering the selection/change handlers
|
SelectOption<V> |
AbstractSelect.getOptionAt(int index) |
SelectOption<T> |
Select.getSelectedOption() |
SelectOption<T> |
SelectOption.select()
make the component selected
|
SelectOption<T> |
SelectOption.select(boolean silent)
make the component selected without triggering the selection/change handlers
|
SelectOption<T> |
SelectOption.setBackground(Color background) |
SelectOption<T> |
SelectOption.setDisplayValue(String displayValue) |
SelectOption<T> |
SelectOption.setExcludeFromSearchResults(boolean excludeFromSearchResults)
Enable/Disable exclusion from search result
|
SelectOption<T> |
SelectOption.value(T value) |
SelectOption |
SelectOption.value(T value,
boolean silent) |
| Modifier and Type | Method and Description |
|---|---|
List<SelectOption<V>> |
AbstractSelect.getOptions() |
List<SelectOption<T>> |
SelectOptionGroup.getOptions() |
List<SelectOption<T>> |
MultiSelect.getSelectedOptions() |
| Modifier and Type | Method and Description |
|---|---|
SelectOptionGroup<T> |
SelectOptionGroup.appendChild(SelectOption<T> option)
Adds a SelectOption to this group
|
MultiSelect<T> |
MultiSelect.appendChild(SelectOption<T> option,
Consumer<DropdownAction<SelectOption<T>>> andThen) |
S |
AbstractSelect.appendChild(SelectOption<V> option)
Adds an option to the select dropdown menu
|
S |
AbstractSelect.appendChild(SelectOption<V> option,
Consumer<DropdownAction<SelectOption<V>>> andThen) |
elemental2.dom.HTMLElement |
AbstractSelect.OptionRenderer.element(SelectOption<T> option) |
S |
AbstractSelect.insertFirst(SelectOption<V> option)
Insert an option as the first option in the dropdown menu
|
protected void |
AbstractSelect.onSelection(SelectOption<V> option)
By default this will call the Selection Handlers and the Change handlers
|
void |
AbstractSelect.SelectionHandler.onSelection(SelectOption<V> option) |
S |
AbstractSelect.removeOption(SelectOption<V> option)
Removes an option from the select dropdown menu
|
Select<T> |
Select.select(SelectOption<T> option,
boolean silent)
Selects the option at the specified index if exists and set its value as the select value
|
MultiSelect<T> |
MultiSelect.select(SelectOption<T> option,
boolean silent)
Selects the option at the specified index if exists and set its value as the select value
|
S |
AbstractSelect.select(SelectOption<V> option)
Selects the specified option if it is one of this select options
|
abstract S |
AbstractSelect.select(SelectOption<V> option,
boolean silent)
Selects the option at the specified index if exists and set its value as the select value
|
| Modifier and Type | Method and Description |
|---|---|
S |
AbstractSelect.addOptions(List<SelectOption<V>> options)
Adds a List of options to the select dropdown menu
|
void |
SelectOption.addSelectionHandler(Selectable.SelectionHandler<SelectOption> selectionHandler)
Adds a selection handler to this component, the handler will be called whenever the component
selected/deselected
|
MultiSelect<T> |
MultiSelect.appendChild(SelectOption<T> option,
Consumer<DropdownAction<SelectOption<T>>> andThen) |
S |
AbstractSelect.appendChild(SelectOption<V> option,
Consumer<DropdownAction<SelectOption<V>>> andThen) |
static <T> Select<T> |
Select.create(List<SelectOption<T>> options)
Creates an instance without a label and initialized with a list of options
|
static <T> MultiSelect<T> |
MultiSelect.create(List<SelectOption<T>> options)
Creates an instance without a label and initialized with a list of options
|
static <T> Select<T> |
Select.create(String label,
List<SelectOption<T>> options)
Creates an instance with a label and initialized with a list of options
|
static <T> MultiSelect<T> |
MultiSelect.create(String label,
List<SelectOption<T>> options)
Creates an instance with a label and initialized with a list of options
|
void |
AbstractSelect.OnAddOptionHandler.onAddOption(String input,
Consumer<SelectOption<V>> completeHandler)
Takes the user input and convert it into a SelectOption
|
S |
AbstractSelect.removeOptions(Collection<SelectOption<V>> options)
Removes a list of options from the select dropdown menu
|
void |
SelectOptionGroup.setAddOptionConsumer(Consumer<SelectOption<T>> addOptionConsumer)
Sets a consumer to be called when ever a SelectOption is added to this group
|
| Constructor and Description |
|---|
AbstractSelect(List<SelectOption<V>> options)
Ceate a select with empty label and a list of initial options
|
AbstractSelect(String label,
List<SelectOption<V>> options)
Create a select field with a label and an initial options list
|
MultiSelect(List<SelectOption<T>> options)
Creates an instance without a label and initialized with a list of options
|
MultiSelect(String label,
List<SelectOption<T>> options)
Creates an instance with a label and initialized with a list of options
|
Select(List<SelectOption<T>> options)
Creates an instance without a label and initialized with a list of options
|
Select(String label,
List<SelectOption<T>> options)
Creates an instance with a label and initialized with a list of options
|
Copyright © 2019–2022 Dominokit. All rights reserved.