Class AbstractLookupField.LookupFieldI18n
java.lang.Object
com.vaadin.componentfactory.lookupfield.AbstractLookupField.LookupFieldI18n
- All Implemented Interfaces:
Serializable
- Enclosing class:
AbstractLookupField<T,SelectT, ComboboxT extends com.vaadin.flow.component.HasEnabled & com.vaadin.flow.component.HasValidation & com.vaadin.flow.component.HasSize & com.vaadin.flow.component.HasValue<?, SelectT>, ComponentT extends AbstractLookupField<T, SelectT, ComboboxT, ComponentT, FilterType>, FilterType>
The internationalization properties for
LookupField.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the cancel button text.Gets the create button text.Gets the message shown when the selection is empty.Gets the text shown after the dialog header.Gets the text shown before the dialog header.Gets the search field text.Gets the aria label of the search field.Gets the select button text.Gets the text showing the number of selected items.Sets the cancel button text.Sets the create button text.setEmptyselection(String emptyselection) Sets the message shown when the selection is empty.setHeaderpostfix(String headerpostfix) Sets the text shown after the dialog header.setHeaderprefix(String headerprefix) Sets the text shown before the dialog header.Sets the search field text.setSearcharialabel(String searcharialabel) Sets the aria label of the search field.Sets the select button text.setSelectedText(String selectedText) Sets the text showing the number of selected items.
-
Constructor Details
-
LookupFieldI18n
public LookupFieldI18n()Creates an empty internationalization properties object.
-
-
Method Details
-
getSearch
Gets the search field text.- Returns:
- the search field text
-
setSearch
Sets the search field text.- Parameters:
search- the search field text- Returns:
- this instance for method chaining
-
getSelect
Gets the select button text.- Returns:
- the select button text
-
setSelect
Sets the select button text.- Parameters:
select- the select button text- Returns:
- this instance for method chaining
-
getCancel
Gets the cancel button text.- Returns:
- the cancel button text
-
setCancel
Sets the cancel button text.- Parameters:
cancel- the cancel button text- Returns:
- this instance for method chaining
-
getSearcharialabel
Gets the aria label of the search field.- Returns:
- the search field aria label
-
setSearcharialabel
Sets the aria label of the search field.- Parameters:
searcharialabel- the search field aria label- Returns:
- this instance for method chaining
-
getHeaderprefix
Gets the text shown before the dialog header.- Returns:
- the header prefix text
-
setHeaderprefix
Sets the text shown before the dialog header.- Parameters:
headerprefix- the header prefix text- Returns:
- this instance for method chaining
-
getHeaderpostfix
Gets the text shown after the dialog header.- Returns:
- the header postfix text
-
setHeaderpostfix
Sets the text shown after the dialog header.- Parameters:
headerpostfix- the header postfix text- Returns:
- this instance for method chaining
-
getEmptyselection
Gets the message shown when the selection is empty.- Returns:
- the empty selection message
-
setEmptyselection
Sets the message shown when the selection is empty.- Parameters:
emptyselection- the empty selection message- Returns:
- this instance for method chaining
-
getCreate
Gets the create button text.- Returns:
- the create button text
-
setCreate
Sets the create button text.- Parameters:
create- the create button text- Returns:
- this instance for method chaining
-
getSelectedText
Gets the text showing the number of selected items.- Returns:
- the selected items text
-
setSelectedText
Sets the text showing the number of selected items.- Parameters:
selectedText- the selected items text- Returns:
- this instance for method chaining
-