Class CalendarDescription.Init<T extends CalendarDescription.Init<T>>

Direct Known Subclasses:
CalendarDescription.Builder
Enclosing class:
CalendarDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T enabled(Boolean enabled)
      Initiates whether the calendar is enabled.
      Parameters:
      enabled - true to enable the object.
      Returns:
      the description instance with updated state (builder pattern).
    • date

      public T date(Date date)
      Initiates the current date of the calendar.
      Parameters:
      date - the current date of the calendar.
      Returns:
      The description instance with updated state (builder pattern).
    • locale

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

      public T locale(String locale)
      Initiates the locale of the calendar.
      Parameters:
      locale - the locale of the accordion.
      Returns:
      The description instance with updated state (builder pattern).