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:
- extends Serializable
public static interface AbstractSelect.Filtering
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 | |
---|---|
static int |
FILTERINGMODE_CONTAINS
|
static int |
FILTERINGMODE_OFF
|
static int |
FILTERINGMODE_STARTSWITH
|
Method Summary | |
---|---|
int |
getFilteringMode()
Gets the current filtering mode. |
void |
setFilteringMode(int filteringMode)
Sets the option filtering mode. |
Field Detail |
---|
FILTERINGMODE_OFF
static final int FILTERINGMODE_OFF
See Also:
FILTERINGMODE_STARTSWITH
static final int FILTERINGMODE_STARTSWITH
See Also:
FILTERINGMODE_CONTAINS
static final int FILTERINGMODE_CONTAINS
See Also:
Method Detail |
---|
setFilteringMode
void setFilteringMode(int filteringMode)
- Parameters:
filteringMode
- the filtering mode to use
Sets the option filtering mode.
getFilteringMode
int getFilteringMode()
- Returns:
- the filtering mode in use
Gets the current filtering mode.