Open topic with navigation

com.hp.lft.sdk.oracle

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

Note: Supported in LeanFT versions 14.52 and later.

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.oracle.UiObjectBaseDescription.Init<T>

- Direct Known Subclasses:
    ApplicationSessionDescription.Init, ButtonDescription.Init, CalendarDescription.Init, CheckBoxDescription.Init, EditFieldDescription.Init, FlexFieldWindowDescription.Init, ListDescription.Init, ListOfValuesDescription.Init, LogonWindowDescription.Init, NavigatorWindowDescription.Init, NotificationDescription.Init, PickListDescription.Init, RadioGroupDescription.Init, StatusBarDescription.Init, TabDescription.Init, TableDescription.Init, TreeViewDescription.Init, UiFormBaseDescription.Init
  Enclosing class:
    UiObjectBaseDescription

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

  Helper class for derived Builder classes.

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `absoluteLocation(Integer absX, Integer absY)` Initializes the object's coordinates in pixels relative to the screen.
    `T` | `absoluteLocation(LocationProperty absLocation)` Initializes the object's coordinates in pixels relative to the screen.
    `T` | `absoluteLocation(Point absLocation)` Initializes the object's coordinates in pixels relative to the screen.
    `T` | `location(Integer x, Integer y)` Initializes this object's coordinates in pixels relative to the parent window.
    `T` | `location(LocationProperty location)` Initializes this object's coordinates in pixels relative to the parent window.
    `T` | `location(Point location)` Initializes this object's coordinates in pixels relative to the parent window.
    `T` | `objectType(String objectType)` Initializes the general object type.
    `T` | `objectType(StringProperty objectType)` Initializes the general object type.
    `T` | `size(Dimension size)` Initializes the test object's size in pixels.
    `T` | `size(Integer width, Integer height)` Initializes the test object's size in pixels.
    `T` | `size(SizeProperty size)` Initializes the test object's size in pixels.

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

    - #### objectType

          public T objectType(StringProperty objectType)

      Initializes the general object type.
      Parameters:
        `objectType` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### objectType

          public T objectType(String objectType)

      Initializes the general object type.
      Parameters:
        `objectType` - the general object type.
      Returns:
        the description instance with the update state (builder pattern).

    - #### location

          public T location(Integer x,
                            Integer y)

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

    - #### location

          public T location(LocationProperty location)

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

    - #### location

          public T location(Point location)

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

    - #### absoluteLocation

          public T absoluteLocation(Integer absX,
                                    Integer absY)

      Initializes the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.

      In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, this coordinate is relative to the virtual coordinate system. Otherwise, this coordinate is relative to the coordinate system associated with the Component's GraphicsConfiguration.

      Parameters:
        `absX` - in pixels.
        `absY` - in pixels.
      Returns:
        the description instance with the update state (builder pattern).

    - #### absoluteLocation

          public T absoluteLocation(LocationProperty absLocation)

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

    - #### absoluteLocation

          public T absoluteLocation(Point absLocation)

      Initializes the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.
      Parameters:
        `absLocation` - the object's coordinates.
      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 size.
      Returns:
        the description instance with the update state (builder pattern).

    - #### size

          public T size(Integer width,
                        Integer height)

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

    - #### size

          public T size(Dimension size)

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