Open topic with navigation

com.hp.lft.sdk.mobile

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

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

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

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

  Helper class for LabelDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `LabelDescription` | `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).
    `T` | `text(java.lang.String text)` Initializes the label's text.
    `T` | `text(StringProperty text)` Initializes the label's text.

    - ### 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 LabelDescription build()

    - #### text

          public T text(StringProperty text)

      Initializes the label's text.
      Parameters:
        `text` - a StringProperty (or RegExpProperty) representing the label's text.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### text

          public T text(java.lang.String text)

      Initializes the label's text.
      Parameters:
        `text` - the label's text.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### 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).