Open topic with navigation

com.hp.lft.sdk.wpf

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init<T>

- Direct Known Subclasses:
    ButtonDescription.Init, CalendarDescription.Init, CheckBoxDescription.Init, ComboBoxDescription.Init, EditFieldDescription.Init, ImageDescription.Init, LinkDescription.Init, ListDescription.Init, MenuDescription.Init, ProgressBarDescription.Init, RadioButtonDescription.Init, ScrollBarDescription.Init, SliderDescription.Init, StatusBarDescription.Init, TableDescription.Init, TabStripDescription.Init, ToolBarDescription.Init, TreeViewDescription.Init, UiObjectDescription.Init, WindowDescription.Init
  Enclosing class:
    UiObjectDescriptionBase

      protected abstract static class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>
      extends DescriptionBase.Init<T>

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `T` | `absoluteLocation(java.lang.Integer absX, java.lang.Integer absY)` Initializes the object's absolute coordinates relative to the screen (in pixels).
    `T` | `absoluteLocation(LocationProperty absLocation)` Initializes the object's absolute coordinates relative to the screen (in pixels).
    `T` | `absoluteLocation(java.awt.Point absLocation)` Initializes the object's absolute coordinates relative to the screen (in pixels).
    `T` | `attachedText(java.lang.String attachedText)` Initializes the static text that is attached to a control.
    `T` | `attachedText(StringProperty attachedText)` Initializes the static text that is attached to a control.
    `T` | `canFocus(java.lang.Boolean canFocus)` Initializes whether the current element is can focus.
    `T` | `enabled(java.lang.Boolean isEnabled)` Initializes whether the current element is enabled.
    `T` | `focused(java.lang.Boolean isFocused)` Initializes whether the current element is focused.
    `T` | `fullNamePath(java.lang.String fullNamePath)` Initializes the full hierarchy of ObjectName with all parent objects.
    `T` | `fullNamePath(StringProperty fullNamePath)` Initializes the full hierarchy of ObjectName with all parent objects.
    `T` | `fullType(java.lang.String fullType)` Initializes the full type name of the object.
    `T` | `fullType(StringProperty fullType)` Initializes the full type name of the object.
    `T` | `location(java.lang.Integer x, java.lang.Integer y)` Initializes the object's coordinates relative to the parent window (in pixels).
    `T` | `location(LocationProperty location)` Initializes the object's coordinates relative to the parent window (in pixels).
    `T` | `location(java.awt.Point location)` Initializes the object's coordinates relative to the parent window (in pixels).
    `T` | `nativeClass(java.lang.String nativeClass)` Initializes the object's window class name.
    `T` | `nativeClass(StringProperty nativeClass)` Initializes the object's window class name.
    `T` | `objectName(java.lang.String objectName)` Initializes the object's name as set by the developer.
    `T` | `objectName(StringProperty objectName)` Initializes the object's name as set by the developer.
    `T` | `objectProperties(java.util.Map<java.lang.String,java.lang.Object> objectProperties)` Initializes the concrete test object properties, including custom properties created by the developer of the control.
    `T` | `size(java.awt.Dimension size)` Initializes the test object's size (in pixels).
    `T` | `size(java.lang.Integer width, java.lang.Integer height)` Initializes the test object's size (in pixels).
    `T` | `size(SizeProperty size)` Initializes the test object's size (in pixels).
    `T` | `text(java.lang.String text)` Initializes the permanent part of the text associated with the object.
    `T` | `text(StringProperty text)` Initializes the permanent part of the text associated with the object.
    `T` | `visible(java.lang.Boolean isVisible)` Initializes whether the current element is visible.
    `T` | `windowTitleRegExp(java.lang.String windowTitleRegExp)` Initializes the permanent part of the constant part of the window title.
    `T` | `windowTitleRegExp(StringProperty windowTitleRegExp)` Initializes the permanent part of the constant part of the window title.

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

      `build, 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

    - #### nativeClass

          public T nativeClass(StringProperty nativeClass)

      Initializes the object's window class name.
      Parameters:
        `nativeClass` - a StringProperty (or RegExpProperty) representing the object's window class name.
      Returns:
        the description instance with the update state (builder pattern)

    - #### nativeClass

          public T nativeClass(java.lang.String nativeClass)

      Initializes the object's window class name.
      Parameters:
        `nativeClass` - the object's window class name.
      Returns:
        the description instance with the update state (builder pattern)

    - #### enabled

          public T enabled(java.lang.Boolean isEnabled)

      Initializes whether the current element is enabled.
      Parameters:
        `isEnabled` - whether the current element is enabled.
      Returns:
        the description instance with the update state (builder pattern)

    - #### focused

          public T focused(java.lang.Boolean isFocused)

      Initializes whether the current element is focused.
      Parameters:
        `isFocused` - whether the current element is focused.
      Returns:
        the description instance with the update state (builder pattern)

    - #### windowTitleRegExp

          public T windowTitleRegExp(StringProperty windowTitleRegExp)

      Initializes the permanent part of the constant part of the window title.
      Parameters:
        `windowTitleRegExp` - a StringProperty (or RegExpProperty) representing the constant part of the window title.
      Returns:
        the description instance with the update state (builder pattern)

    - #### windowTitleRegExp

          public T windowTitleRegExp(java.lang.String windowTitleRegExp)

      Initializes the permanent part of the constant part of the window title.
      Parameters:
        `windowTitleRegExp` - the constant part of the window title.
      Returns:
        the description instance with the update state (builder pattern)

    - #### visible

          public T visible(java.lang.Boolean isVisible)

      Initializes whether the current element is visible.
      Parameters:
        `isVisible` - whether the current element is visible.
      Returns:
        the description instance with the update state (builder pattern)

    - #### canFocus

          public T canFocus(java.lang.Boolean canFocus)

      Initializes whether the current element is can focus.
      Parameters:
        `canFocus` - whether the current element can focus
      Returns:
        the description instance with the update state (builder pattern)

    - #### text

          public T text(StringProperty text)

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

    - #### text

          public T text(java.lang.String text)

      Initializes the permanent part of the text associated with the object.
      Parameters:
        `text` - text associated with the object.
      Returns:
        the description instance with the update state (builder pattern)

    - #### attachedText

          public T attachedText(StringProperty attachedText)

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

    - #### attachedText

          public T attachedText(java.lang.String attachedText)

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

    - #### location

          public T location(java.lang.Integer x,
                            java.lang.Integer y)

      Initializes the object's coordinates relative to the parent window (in pixels).
      Parameters:
        `x` - the X coordinate of the test object location.
        `y` - the Y coordinate of the test object location.
      Returns:
        the description instance with the update state (builder pattern)

    - #### location

          public T location(LocationProperty location)

      Initializes the object's coordinates relative to the parent window (in pixels).
      Parameters:
        `location` - a LocationProperty representing the object's coordinates relative to the parent window (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### location

          public T location(java.awt.Point location)

      Initializes the object's coordinates relative to the parent window (in pixels).
      Parameters:
        `location` - a Point representing the object's coordinates relative to the parent window (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### absoluteLocation

          public T absoluteLocation(java.lang.Integer absX,
                                    java.lang.Integer absY)

      Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.
      Parameters:
        `absX` - the absolute X coordinate of the test object location.
        `absY` - the absolute Y coordinate of the test object location.
      Returns:
        the description instance with the update state (builder pattern)

    - #### absoluteLocation

          public T absoluteLocation(LocationProperty absLocation)

      Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.
      Parameters:
        `absLocation` - a LocationProperty representing the object's absolute coordinates relative to the screen (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### absoluteLocation

          public T absoluteLocation(java.awt.Point absLocation)

      Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.
      Parameters:
        `absLocation` - a Point representing the object's absolute coordinates relative to the screen (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### size

          public T size(SizeProperty size)

      Initializes the test object's size (in pixels).
      Parameters:
        `size` - the test object's size (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### size

          public T size(java.lang.Integer width,
                        java.lang.Integer height)

      Initializes the test object's size (in pixels).
      Parameters:
        `width` - the width of the test object (in pixels).
        `height` - the height of the test object (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### size

          public T size(java.awt.Dimension size)

      Initializes the test object's size (in pixels).
      Parameters:
        `size` - the test object's size (in pixels).
      Returns:
        the description instance with the update state (builder pattern)

    - #### fullType

          public T fullType(java.lang.String fullType)

      Initializes the full type name of the object.
      Parameters:
        `fullType` - the full type name of the object.
      Returns:
        the description instance with the update state (builder pattern)

    - #### fullType

          public T fullType(StringProperty fullType)

      Initializes the full type name of the object.
      Parameters:
        `fullType` - a StringProperty (or RegExpProperty) representing the full type name of the object.
      Returns:
        the description instance with the update state (builder pattern)

    - #### fullNamePath

          public T fullNamePath(StringProperty fullNamePath)

      Initializes the full hierarchy of ObjectName with all parent objects.
      Parameters:
        `fullNamePath` - a StringProperty (or RegExpProperty) representing full hierarchy of ObjectName with all parent objects.
      Returns:
        the description instance with the update state (builder pattern)

    - #### fullNamePath

          public T fullNamePath(java.lang.String fullNamePath)

      Initializes the full hierarchy of ObjectName with all parent objects.
      Parameters:
        `fullNamePath` - the full hierarchy of ObjectName with all parent objects.
      Returns:
        the description instance with the update state (builder pattern)

    - #### objectName

          public T objectName(StringProperty objectName)

      Initializes the object's name as set by the developer.
      Parameters:
        `objectName` - a StringProperty (or RegExpProperty) representing object's name as set by the developer.
      Returns:
        the description instance with the update state (builder pattern)

    - #### objectName

          public T objectName(java.lang.String objectName)

      Initializes the object's name as set by the developer.
      Parameters:
        `objectName` - the object's name as set by the developer.
      Returns:
        the description instance with the update state (builder pattern)

    - #### objectProperties

          public T objectProperties(java.util.Map<java.lang.String,java.lang.Object> objectProperties)

      Initializes the concrete test object properties, including custom properties created by the developer of the control.
      Parameters:
        `objectProperties` - the concrete test object properties, including custom properties created by the developer of the control.
      Returns:
        the description instance with the update state (builder pattern)