Share this page

com.hp.lft.sdk.mobile

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

- java.lang.Object
- - com.hp.lft.sdk.mobile.UiObjectBaseDescription.Init<T>
  - - com.hp.lft.sdk.mobile.ToggleDescription.Init<T>

- Direct Known Subclasses:
    ToggleDescription.Builder
  Enclosing class:
    ToggleDescription

      protected abstract static class ToggleDescription.Init<T extends ToggleDescription.Init<T>>
      extends UiObjectBaseDescription.Init<T>

  Helper class for ToggleDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `ToggleDescription` | `build()`
    `T` | `checkable(java.lang.Boolean isCheckable)` Initializes whether the control can be checked.
    `T` | `checked(java.lang.Boolean isChecked)` Initializes whether the mobile control is checked (relevant for controls that can have a check mark).

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

      `accessibilityId, accessibilityId, className, container, mobileCenterIndex, resourceId, resourceId, 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 ToggleDescription build()

    - #### checkable

          public T checkable(java.lang.Boolean isCheckable)

      Initializes whether the control can be checked.
      Parameters:
        `isCheckable` - true if the control can be checked.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### checked

          public T checked(java.lang.Boolean isChecked)

      Initializes whether the mobile control is checked (relevant for controls that can have a check mark).
      Parameters:
        `isChecked` - true if the mobile control is checked (relevant for controls that can have a check mark).
      Returns:
        the description instance with the updated 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: