Share this page

com.hp.lft.sdk.web

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.web.FormFieldDescription.Init<T>
        - - com.hp.lft.sdk.web.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 Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `CheckBoxDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `checked(java.lang.Boolean isChecked)` Initializes whether the check box is checked.
    `T` | `enabled(java.lang.Boolean isEnabled)` Initializes whether the object is enabled.
    `T` | `type(java.lang.String type)` Initializes the type of object as defined in the HTML input tag.
    `T` | `type(StringProperty type)` Initializes the type of object as defined in the HTML input tag.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### 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(java.lang.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(java.lang.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(java.lang.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).

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: