Class CheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>

Direct Known Subclasses:
CheckBoxDescription.Builder, CheckBoxDescription.Init
Enclosing class:
CheckBoxDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T checked(Boolean isChecked)
      Initializes whether the check box is checked.
      Parameters:
      isChecked - true if the check box is checked.
      Returns:
      the description instance with the update state (builder pattern).
    • enabled

      public T enabled(Boolean isEnabled)
      Initializes whether the object is enabled.
      Parameters:
      isEnabled - true if the object is enabled.
      Returns:
      the description instance with the update state (builder pattern).
    • type

      public T type(String type)
      Initializes the type of object as defined in the HTML input tag.
      Overrides:
      type in class FormFieldDescription.Init<T extends CheckBoxDescription.Init<T>>
      Parameters:
      type - the type of object as defined in the HTML input tag.
      Returns:
      the description instance with the update state (builder pattern).
    • type

      public T type(StringProperty type)
      Initializes the type of object as defined in the HTML input tag.
      Overrides:
      type in class FormFieldDescription.Init<T extends CheckBoxDescription.Init<T>>
      Parameters:
      type - a StringProperty(or RegExpProperty) representing the type of object as defined in the HTML input tag.
      Returns:
      the description instance with the update state (builder pattern).