Share this page

com.hp.lft.sdk.sap.gui

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
    - - com.hp.lft.sdk.sap.gui.OKCodeDescription.Init<T>

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

      protected abstract static class OKCodeDescription.Init<T extends OKCodeDescription.Init<T>>
      extends ElementDescription.Init<T>

  Helper class for OKCodeDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `OKCodeDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `value(java.lang.String value)` Initializes command code entered in the field.
    `T` | `value(StringProperty value)` Initializes command code entered in the field.

    - ### Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, id, id, location, location, location, name, name, size, size, size, type`

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

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `ElementDescription.Init<T extends OKCodeDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### value

          public T value(StringProperty value)

      Initializes command code entered in the field.
      Parameters:
        `value` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### value

          public T value(java.lang.String value)

      Initializes command code entered in the field.
      Parameters:
        `value` - the command code.
      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: