public class SelectSearchField extends AbstractSearchField
Modifier and Type | Field and Description |
---|---|
static String |
AUTOCOMPLETE_SUFFIX |
protected String |
autocompleteId |
protected String |
autocompleteInputName |
protected String |
comboLabel |
static String |
copyright |
protected SearchDisplayMode |
displayMode |
protected SelectSearchField |
nextSelectField |
protected boolean |
notSet |
protected String |
notSetLabel |
protected SelectSearchField |
previousSelectField |
protected SelectionModel |
selectionModel |
protected int |
selectionModelIndex |
static String |
VALUE_NOT_SET |
accessor, ATTR_NAME_HTML_CLASS, FORM_CONTROL_CSS_CLASS, id, inputName, label, logger, required
Constructor and Description |
---|
SelectSearchField(PropertyAccessor accessor,
SelectionProvider selectionProvider,
String prefix) |
SelectSearchField(PropertyAccessor accessor,
String prefix) |
appendToSearchString, getId, getInputName, getLabel, getPropertyAccessor, getText, readFromObject, setId, setInputName, setLabel, writeToObject
public static final String copyright
protected SelectionModel selectionModel
protected int selectionModelIndex
protected boolean notSet
protected String comboLabel
protected String notSetLabel
protected SearchDisplayMode displayMode
protected String autocompleteId
protected String autocompleteInputName
protected SelectSearchField previousSelectField
protected SelectSearchField nextSelectField
public static final String AUTOCOMPLETE_SUFFIX
public static final String VALUE_NOT_SET
public SelectSearchField(PropertyAccessor accessor, String prefix)
public SelectSearchField(PropertyAccessor accessor, SelectionProvider selectionProvider, String prefix)
public void toSearchString(StringBuilder sb, String encoding)
public void configureCriteria(Criteria criteria)
public void readFromRequest(HttpServletRequest req)
public boolean validate()
public void toXhtml(@NotNull XhtmlBuffer xb)
public String composeDropDownJs()
public void valueToXhtmlRadio(XhtmlBuffer xb)
protected void writeRadioWithLabel(XhtmlBuffer xb, String radioId, String label, String stringValue, boolean checked)
public void valueToXhtmlAutocomplete(XhtmlBuffer xb)
public String composeAutocompleteJs()
public void appendIds(StringBuilder sb)
public SelectionModel getSelectionModel()
public void setSelectionModel(SelectionModel selectionModel)
public int getSelectionModelIndex()
public void setSelectionModelIndex(int selectionModelIndex)
public String getComboLabel()
public void setComboLabel(String comboLabel)
public String getNotSetLabel()
public void setNotSetLabel(String notSetLabel)
public SearchDisplayMode getDisplayMode()
public void setDisplayMode(SearchDisplayMode displayMode)
public String getAutocompleteId()
public void setAutocompleteId(String autocompleteId)
public String getAutocompleteInputName()
public void setAutocompleteInputName(String autocompleteInputName)
public SelectSearchField getPreviousSelectField()
public void setPreviousSelectField(SelectSearchField previousSelectField)
public SelectSearchField getNextSelectField()
public void setNextSelectField(SelectSearchField nextSelectField)
public Object[] getValues()
public void setValue(Object[] values)
public Map<Object,SelectionModel.Option> getOptions()
public String getLabelSearch()