public static interface OptionOwner.Selector extends OptionOwner.HitCounter<String>
Option
should be selected. Also implements OptionOwner.HitCounter
,
using the options's value and returning null
by default.Option.isSelected()
Modifier and Type | Method and Description |
---|---|
default Integer |
count(String optionValue)
Counts the hits for the option created from the given element.
|
void |
select(Option o)
Selects or de-selects an option by calling
Option.setSelected(Boolean) . |
void select(Option o)
Option.setSelected(Boolean)
.o
- the Option
which might be selecteddefault Integer count(String optionValue)
OptionOwner.HitCounter
count
in interface OptionOwner.HitCounter<String>
optionValue
- the element to count the hits forCopyright © 2011–2023 aiticon GmbH. All rights reserved.