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

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 Details

    • Init

      protected Init()
  • Method Details

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