We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Interface AbstractSelect.Filtering
-
All Superinterfaces:
Enclosing class:
public static interface AbstractSelect.Filtering extends Serializable
Interface for option filtering, used to filter options based on user entered value. The value is matched to the item caption.
FilteringMode.OFF
(0) turns the filtering off.FilteringMode.STARTSWITH
(1) matches from the start of the caption.FilteringMode.CONTAINS
(1) matches anywhere in the caption.
-
-
Field Summary
Fields Modifier and Type Field Description static FilteringMode
FILTERINGMODE_CONTAINS
Deprecated.
As of 7.0, useFilteringMode.CONTAINS
insteadstatic FilteringMode
FILTERINGMODE_OFF
Deprecated.
As of 7.0, useFilteringMode.OFF
insteadstatic FilteringMode
FILTERINGMODE_STARTSWITH
Deprecated.
As of 7.0, useFilteringMode.STARTSWITH
instead
-
Method Summary
All Methods Modifier and Type Method Description FilteringMode
getFilteringMode()
Gets the current filtering mode.
void
setFilteringMode​(FilteringMode filteringMode)
Sets the option filtering mode.
-
-
-
Field Detail
-
FILTERINGMODE_OFF
@Deprecated static final FilteringMode FILTERINGMODE_OFF
Deprecated.As of 7.0, useFilteringMode.OFF
instead
-
FILTERINGMODE_STARTSWITH
@Deprecated static final FilteringMode FILTERINGMODE_STARTSWITH
Deprecated.As of 7.0, useFilteringMode.STARTSWITH
instead
-
FILTERINGMODE_CONTAINS
@Deprecated static final FilteringMode FILTERINGMODE_CONTAINS
Deprecated.As of 7.0, useFilteringMode.CONTAINS
instead
-
-
Method Detail
-
setFilteringMode
void setFilteringMode​(FilteringMode filteringMode)
Sets the option filtering mode.
Parameters:
filteringMode
- the filtering mode to use
-
getFilteringMode
FilteringMode getFilteringMode()
Gets the current filtering mode.
Returns:
the filtering mode in use
-
-