org.wicketstuff.select2
Class Settings
java.lang.Object
org.wicketstuff.select2.Settings
- All Implemented Interfaces:
- Serializable
public final class Settings
- extends Object
- implements Serializable
Select2 settings. Refer to the Select2 documentation for what these options mean.
- Author:
- igor
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
Settings.Widths
Some predefined width option values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Settings
public Settings()
toJson
public CharSequence toJson()
getMinimumInputLength
public Integer getMinimumInputLength()
setMinimumInputLength
public void setMinimumInputLength(Integer minimumInputLength)
getMinimumResultsForSearch
public Integer getMinimumResultsForSearch()
setMinimumResultsForSearch
public void setMinimumResultsForSearch(Integer minimumResultsForSearch)
getPlaceholder
public Object getPlaceholder()
setPlaceholder
public void setPlaceholder(Object placeholder)
getAllowClear
public Boolean getAllowClear()
setAllowClear
public void setAllowClear(Boolean allowClear)
getMultiple
public Boolean getMultiple()
setMultiple
public void setMultiple(Boolean multiple)
getCloseOnSelect
public Boolean getCloseOnSelect()
setCloseOnSelect
public void setCloseOnSelect(Boolean closeOnSelect)
getId
public String getId()
setId
public void setId(String id)
getFormatSelection
public String getFormatSelection()
setFormatSelection
public void setFormatSelection(String formatSelection)
getFormatResult
public String getFormatResult()
setFormatResult
public void setFormatResult(String formatResult)
getFormatNoMatches
public String getFormatNoMatches()
setFormatNoMatches
public void setFormatNoMatches(String formatNoMatches)
getFormatInputTooShort
public String getFormatInputTooShort()
setFormatInputTooShort
public void setFormatInputTooShort(String formatInputTooShort)
getCreateSearchChoice
public String getCreateSearchChoice()
setCreateSearchChoice
public void setCreateSearchChoice(String createSearchChoice)
getInitSelection
public String getInitSelection()
setInitSelection
public void setInitSelection(String initSelection)
getQuery
public String getQuery()
setQuery
public void setQuery(String query)
getAjax
public AjaxSettings getAjax()
getAjax
public AjaxSettings getAjax(boolean createIfNotSet)
setAjax
public void setAjax(AjaxSettings ajax)
getData
public String getData()
setData
public void setData(String data)
getTags
public String getTags()
setTags
public void setTags(String tags)
getMaximumSelectionSize
public Integer getMaximumSelectionSize()
setMaximumSelectionSize
public void setMaximumSelectionSize(Integer maximumSelectionSize)
getMatcher
public String getMatcher()
setMatcher
public void setMatcher(String matcher)
getTokenizer
public String getTokenizer()
setTokenizer
public void setTokenizer(String tokenizer)
getSortResults
public String getSortResults()
setSortResults
public void setSortResults(String sortResults)
getFormatSelectionTooBig
public String getFormatSelectionTooBig()
setFormatSelectionTooBig
public void setFormatSelectionTooBig(String formatSelectionTooBig)
getFormatResultCssClass
public String getFormatResultCssClass()
setFormatResultCssClass
public void setFormatResultCssClass(String formatResultCssClass)
getFormatLoadMore
public String getFormatLoadMore()
setFormatLoadMore
public void setFormatLoadMore(String formatLoadMore)
getFormatSearching
public String getFormatSearching()
setFormatSearching
public void setFormatSearching(String formatSearching)
getEscapeMarkup
public String getEscapeMarkup()
setEscapeMarkup
public void setEscapeMarkup(String escapeMarkup)
getWidth
public String getWidth()
setWidth
public void setWidth(String width)
getOpenOnEnter
public Boolean getOpenOnEnter()
setOpenOnEnter
public void setOpenOnEnter(Boolean openOnEnter)
getContainerCss
public String getContainerCss()
setContainerCss
public void setContainerCss(String containerCss)
getDropdownCss
public String getDropdownCss()
setDropdownCss
public void setDropdownCss(String dropdownCss)
getContainerCssClass
public String getContainerCssClass()
setContainerCssClass
public void setContainerCssClass(String containerCssClass)
getDropdownCssClass
public String getDropdownCssClass()
setDropdownCssClass
public void setDropdownCssClass(String dropdownCssClass)
getSeparator
public String getSeparator()
setSeparator
public void setSeparator(String separator)
getTokenSeparators
public String[] getTokenSeparators()
setTokenSeparators
public void setTokenSeparators(String[] tokenSeparators)
getSelectOnBlur
public Boolean getSelectOnBlur()
setSelectOnBlur
public void setSelectOnBlur(Boolean selectOnBlur)
getDropdownAutoWidth
public Boolean getDropdownAutoWidth()
setDropdownAutoWidth
public void setDropdownAutoWidth(Boolean dropdownAutoWidth)
Copyright © 2018. All rights reserved.