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>

public static class AbstractLookupField.LookupFieldI18n extends Object implements Serializable
The internationalization properties for LookupField.
See Also:
  • Constructor Details

    • LookupFieldI18n

      public LookupFieldI18n()
      Creates an empty internationalization properties object.
  • Method Details

    • getSearch

      public String getSearch()
      Gets the search field text.
      Returns:
      the search field text
    • setSearch

      public AbstractLookupField.LookupFieldI18n setSearch(String search)
      Sets the search field text.
      Parameters:
      search - the search field text
      Returns:
      this instance for method chaining
    • getSelect

      public String getSelect()
      Gets the select button text.
      Returns:
      the select button text
    • setSelect

      public AbstractLookupField.LookupFieldI18n setSelect(String select)
      Sets the select button text.
      Parameters:
      select - the select button text
      Returns:
      this instance for method chaining
    • getCancel

      public String getCancel()
      Gets the cancel button text.
      Returns:
      the cancel button text
    • setCancel

      public AbstractLookupField.LookupFieldI18n setCancel(String cancel)
      Sets the cancel button text.
      Parameters:
      cancel - the cancel button text
      Returns:
      this instance for method chaining
    • getSearcharialabel

      public String getSearcharialabel()
      Gets the aria label of the search field.
      Returns:
      the search field aria label
    • setSearcharialabel

      public AbstractLookupField.LookupFieldI18n setSearcharialabel(String searcharialabel)
      Sets the aria label of the search field.
      Parameters:
      searcharialabel - the search field aria label
      Returns:
      this instance for method chaining
    • getHeaderprefix

      public String getHeaderprefix()
      Gets the text shown before the dialog header.
      Returns:
      the header prefix text
    • setHeaderprefix

      public AbstractLookupField.LookupFieldI18n setHeaderprefix(String headerprefix)
      Sets the text shown before the dialog header.
      Parameters:
      headerprefix - the header prefix text
      Returns:
      this instance for method chaining
    • getHeaderpostfix

      public String getHeaderpostfix()
      Gets the text shown after the dialog header.
      Returns:
      the header postfix text
    • setHeaderpostfix

      public AbstractLookupField.LookupFieldI18n setHeaderpostfix(String headerpostfix)
      Sets the text shown after the dialog header.
      Parameters:
      headerpostfix - the header postfix text
      Returns:
      this instance for method chaining
    • getEmptyselection

      public String getEmptyselection()
      Gets the message shown when the selection is empty.
      Returns:
      the empty selection message
    • setEmptyselection

      public AbstractLookupField.LookupFieldI18n setEmptyselection(String emptyselection)
      Sets the message shown when the selection is empty.
      Parameters:
      emptyselection - the empty selection message
      Returns:
      this instance for method chaining
    • getCreate

      public String getCreate()
      Gets the create button text.
      Returns:
      the create button text
    • setCreate

      public AbstractLookupField.LookupFieldI18n setCreate(String create)
      Sets the create button text.
      Parameters:
      create - the create button text
      Returns:
      this instance for method chaining
    • getSelectedText

      public String getSelectedText()
      Gets the text showing the number of selected items.
      Returns:
      the selected items text
    • setSelectedText

      public AbstractLookupField.LookupFieldI18n setSelectedText(String selectedText)
      Sets the text showing the number of selected items.
      Parameters:
      selectedText - the selected items text
      Returns:
      this instance for method chaining