com.vaadin.ui
Interface AbstractSelect.Filtering

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ComboBox, Select
Enclosing class:
AbstractSelect

public static interface AbstractSelect.Filtering
extends java.io.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
static com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_CONTAINS
          Deprecated. As of 7.0, use FilteringMode.CONTAINS instead
static com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_OFF
          Deprecated. As of 7.0, use FilteringMode.OFF instead
static com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_STARTSWITH
          Deprecated. As of 7.0, use FilteringMode.STARTSWITH instead
 
Method Summary
 com.vaadin.shared.ui.combobox.FilteringMode getFilteringMode()
          Gets the current filtering mode.
 void setFilteringMode(com.vaadin.shared.ui.combobox.FilteringMode filteringMode)
          Sets the option filtering mode.
 

Field Detail

FILTERINGMODE_OFF

@Deprecated
static final com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_OFF
Deprecated. As of 7.0, use FilteringMode.OFF instead

FILTERINGMODE_STARTSWITH

@Deprecated
static final com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_STARTSWITH
Deprecated. As of 7.0, use FilteringMode.STARTSWITH instead

FILTERINGMODE_CONTAINS

@Deprecated
static final com.vaadin.shared.ui.combobox.FilteringMode FILTERINGMODE_CONTAINS
Deprecated. As of 7.0, use FilteringMode.CONTAINS instead
Method Detail

setFilteringMode

void setFilteringMode(com.vaadin.shared.ui.combobox.FilteringMode filteringMode)
Sets the option filtering mode.

Parameters:
filteringMode - the filtering mode to use

getFilteringMode

com.vaadin.shared.ui.combobox.FilteringMode getFilteringMode()
Gets the current filtering mode.

Returns:
the filtering mode in use


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.