Class LocalDateField

All Implemented Interfaces:
ClientObject, Component, TextInputHandlingField

public class LocalDateField extends AbstractField<LocalDate> implements TextInputHandlingField
  • Field Details

  • Constructor Details

    • LocalDateField

      public LocalDateField()
  • Method Details

    • createUiComponent

      public UiLocalDateField createUiComponent()
      Specified by:
      createUiComponent in class AbstractComponent
    • convertUiValueToUxValue

      public LocalDate convertUiValueToUxValue(Object value)
      Overrides:
      convertUiValueToUxValue in class AbstractField<LocalDate>
    • convertUxValueToUiValue

      public UiLocalDate convertUxValueToUiValue(LocalDate localDate)
      Description copied from class: AbstractField
      Converts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!
      Overrides:
      convertUxValueToUiValue in class AbstractField<LocalDate>
      Parameters:
      localDate - the server-side value
      Returns:
      the object to be sent to the ui
    • handleUiEvent

      public void handleUiEvent(UiEvent event)
      Specified by:
      handleUiEvent in interface ClientObject
      Overrides:
      handleUiEvent in class AbstractField<LocalDate>
    • isShowDropDownButton

      public boolean isShowDropDownButton()
    • setShowDropDownButton

      public void setShowDropDownButton(boolean showDropDownButton)
    • isFavorPastDates

      public boolean isFavorPastDates()
    • setFavorPastDates

      public void setFavorPastDates(boolean favorPastDates)
    • getLocale

      public Locale getLocale()
    • getULocale

      public com.ibm.icu.util.ULocale getULocale()
    • setLocale

      public void setLocale(Locale locale)
    • setULocale

      public void setULocale(com.ibm.icu.util.ULocale locale)
    • getDateFormat

      public DateTimeFormatDescriptor getDateFormat()
    • setDateFormat

      public void setDateFormat(DateTimeFormatDescriptor dateFormat)
    • isShowClearButton

      public boolean isShowClearButton()
    • setShowClearButton

      public void setShowClearButton(boolean showClearButton)
    • onTextInput

      public Event<String> onTextInput()
      Specified by:
      onTextInput in interface TextInputHandlingField
    • onSpecialKeyPressed

      public Event<SpecialKey> onSpecialKeyPressed()
      Specified by:
      onSpecialKeyPressed in interface TextInputHandlingField
    • getDefaultSuggestionDate

      public LocalDate getDefaultSuggestionDate()
    • setDefaultSuggestionDate

      public void setDefaultSuggestionDate(LocalDate defaultSuggestionDate)
    • isShuffledFormatSuggestionsEnabled

      public boolean isShuffledFormatSuggestionsEnabled()
    • setShuffledFormatSuggestionsEnabled

      public void setShuffledFormatSuggestionsEnabled(boolean shuffledFormatSuggestionsEnabled)
    • getDropDownMode

      public LocalDateField.DropDownMode getDropDownMode()
    • setDropDownMode

      public void setDropDownMode(LocalDateField.DropDownMode dropDownMode)
    • getEmptyText

      public String getEmptyText()
    • setEmptyText

      public void setEmptyText(String emptyText)
    • setCalendarIconEnabled

      public void setCalendarIconEnabled(boolean calendarIconEnabled)
    • isCalendarIconEnabled

      public boolean isCalendarIconEnabled()