Share this page

com.hp.lft.sdk.sap.gui

## Class EditFieldDescription.Init<T extends EditFieldDescription.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.EditFieldDescription.Init<T>

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

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

  Helper class for EditFieldDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `T` | `attachedText(java.lang.String attachedText)` Initializes static text that is attached to the edit field.
    `T` | `attachedText(StringProperty attachedText)` Initializes static text that is attached to the edit field.
    `EditFieldDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `enabled(java.lang.Boolean enabled)` Initializes whether the object can accept user input.
    `T` | `highlighted(java.lang.Boolean highlighted)` Initializes whether the edit box is highlighted.
    `T` | `iconName(java.lang.String iconName)` Initializes the name of the icon used in the edit box.
    `T` | `iconName(StringProperty iconName)` Initializes the name of the icon used in the edit box.
    `T` | `maxLength(java.lang.Integer maxLength)` Initializes the maximum number of characters that can be entered in the edit box.
    `T` | `numerical(java.lang.Boolean numerical)` Initializes whether the edit box is a numerical field
    `T` | `required(java.lang.Boolean required)` Initializes whether the edit box is required.
    `T` | `text(java.lang.String text)` Initializes text string value of the object.
    `T` | `text(StringProperty text)` Initializes text string value of the object.

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

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

    - #### attachedText

          public T attachedText(StringProperty attachedText)

      Initializes static text that is attached to the edit field.
      Parameters:
        `attachedText` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### attachedText

          public T attachedText(java.lang.String attachedText)

      Initializes static text that is attached to the edit field.
      Parameters:
        `attachedText` - the static text.
      Returns:
        the description instance with the update state (builder pattern).

    - #### enabled

          public T enabled(java.lang.Boolean enabled)

      Initializes whether the object can accept user input.
      Parameters:
        `enabled` - true to set as enabled.
      Returns:
        the description instance with the update state (builder pattern).

    - #### highlighted

          public T highlighted(java.lang.Boolean highlighted)

      Initializes whether the edit box is highlighted.
      Parameters:
        `highlighted` - true to set as highlighted.
      Returns:
        the description instance with the update state (builder pattern).

    - #### iconName

          public T iconName(StringProperty iconName)

      Initializes the name of the icon used in the edit box.
      Parameters:
        `iconName` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### iconName

          public T iconName(java.lang.String iconName)

      Initializes the name of the icon used in the edit box.
      Parameters:
        `iconName` - the name of the icon.
      Returns:
        the description instance with the update state (builder pattern).

    - #### maxLength

          public T maxLength(java.lang.Integer maxLength)

      Initializes the maximum number of characters that can be entered in the edit box.
      Parameters:
        `maxLength` - the maximum number of characters.
      Returns:
        the description instance with the update state (builder pattern).

    - #### numerical

          public T numerical(java.lang.Boolean numerical)

      Initializes whether the edit box is a numerical field
      Parameters:
        `numerical` - true to set as numerical field.
      Returns:
        the description instance with the update state (builder pattern).

    - #### required

          public T required(java.lang.Boolean required)

      Initializes whether the edit box is required.
      Parameters:
        `required` - true to set as required.
      Returns:
        the description instance with the update state (builder pattern).

    - #### text

          public T text(StringProperty text)

      Initializes text string value of the object.
      Parameters:
        `text` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### text

          public T text(java.lang.String text)

      Initializes text string value of the object.
      Parameters:
        `text` - the text.
      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: