Interface TemporalFieldPanel.Builder<T extends Temporal>

Type Parameters:
T - the temporal type
All Superinterfaces:
ComponentBuilder<T,TemporalFieldPanel<T>,TemporalFieldPanel.Builder<T>>
Enclosing class:
TemporalFieldPanel<T extends Temporal>

public static interface TemporalFieldPanel.Builder<T extends Temporal> extends ComponentBuilder<T,TemporalFieldPanel<T>,TemporalFieldPanel.Builder<T>>
  • Method Details

    • dateTimePattern

      TemporalFieldPanel.Builder<T> dateTimePattern(String dateTimePattern)
      Parameters:
      dateTimePattern - the date time pattern
      Returns:
      this builder instance
    • selectAllOnFocusGained

      TemporalFieldPanel.Builder<T> selectAllOnFocusGained(boolean selectAllOnFocusGained)
      Parameters:
      selectAllOnFocusGained - if true the component will select contents on focus gained
      Returns:
      this builder instance
    • columns

      TemporalFieldPanel.Builder<T> columns(int columns)
      Parameters:
      columns - the number of colums in the temporal field
      Returns:
      this builder instance
    • updateOn

      TemporalFieldPanel.Builder<T> updateOn(UpdateOn updateOn)
      Parameters:
      updateOn - specifies when the underlying value should be updated
      Returns:
      this builder instance
    • buttonFocusable

      TemporalFieldPanel.Builder<T> buttonFocusable(boolean buttonFocusable)
      Default false.
      Parameters:
      buttonFocusable - true if the calendar button should be focusable
      Returns:
      this builder instance
    • calendarIcon

      TemporalFieldPanel.Builder<T> calendarIcon(ImageIcon calendarIcon)
      Parameters:
      calendarIcon - the calendar icon
      Returns:
      this builder instance