Class DateTimeInputDescription.Init<T extends DateTimeInputDescription.Init<T>>

Direct Known Subclasses:
DateTimeInputDescription.Builder
Enclosing class:
DateTimeInputDescription

protected abstract static class DateTimeInputDescription.Init<T extends DateTimeInputDescription.Init<T>> extends WebElementDescription.Init<T>
Helper class for DateTimeInputDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public DateTimeInputDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class WebElementDescription.Init<T extends DateTimeInputDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • enabled

      public T enabled(Boolean enabled)
      Initiates whether the DateTimeInput is enabled or not.
      Parameters:
      enabled - true to enable.
      Returns:
      The description instance with updated state (builder pattern).
    • dateType

      public T dateType(DateType dateType)
      Initiates the date type on the DateTimeInput.
      Parameters:
      dateType - the dateType on the DateTimeInput.
      Returns:
      The description instance with updated state (builder pattern).
    • placeholder

      public T placeholder(StringProperty placeholder)
      Initiates the placeholder on the DateTimeInput.
      Parameters:
      placeholder - a StringProperty(or RegExpProperty) representing the placeholder on the DateTimeInput.
      Returns:
      the description instance with updated state (builder pattern).
    • placeholder

      public T placeholder(String placeholder)
      Initiates the placeholder on the DateTimeInput.
      Parameters:
      placeholder - the placeholder on the DateTimeInput.
      Returns:
      the description instance with updated state (builder pattern).
    • displayFormat

      public T displayFormat(StringProperty displayFormat)
      Initiates the display format on the DateTimeInput.
      Parameters:
      displayFormat - a StringProperty(or RegExpProperty) representing the display format on the DateTimeInput.
      Returns:
      the description instance with updated state (builder pattern).
    • displayFormat

      public T displayFormat(String displayFormat)
      Initiates the display format on the DateTimeInput.
      Parameters:
      displayFormat - the display format on the DateTimeInput.
      Returns:
      the description instance with updated state (builder pattern).