Class LabelDescription.Init<T extends LabelDescription.Init<T>>

Direct Known Subclasses:
LabelDescription.Builder
Enclosing class:
LabelDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T text(String text)
      Initializes the text of the description instance.
      Parameters:
      text - the text of the description instance.
      Returns:
      The description instance with the update state (builder pattern).
    • text

      public T text(StringProperty text)
      Initializes the text of the description instance.
      Parameters:
      text - the text of the description instance.
      Returns:
      the description instance with the update state (builder pattern).