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

java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.winforms.UiObjectDescriptionBase.Init<T>
Direct Known Subclasses:
ButtonDescription.Init, CalendarDescription.Init, CheckBoxDescription.Init, ComboBoxDescription.Init, EditFieldDescription.Init, EditorDescription.Init, LabelDescription.Init, ListBoxDescription.Init, PropertyGridDescription.Init, RadioButtonDescription.Init, ScrollBarDescription.Init, SpinBoxDescription.Init, StatusBarDescription.Init, TabControlDescription.Init, TableDescription.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 Details

    • Init

      protected Init()
  • Method Details

    • fullType

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

      public T fullType(String fullType)
      Initializes the full type name of this object.
      Parameters:
      fullType - the full type name
      Returns:
      the description instance with the update state (builder pattern)
    • fullNamePath

      public T fullNamePath(StringProperty fullNamePath)
      Initializes the full hierarchy of this object with all parent objects.
      Parameters:
      fullNamePath - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • fullNamePath

      public T fullNamePath(String fullNamePath)
      Initializes the full hierarchy of this object with all parent objects.
      Parameters:
      fullNamePath - the full hierarchy
      Returns:
      the description instance with the update state (builder pattern)
    • objectName

      public T objectName(StringProperty objectName)
      Initializes the object's name.
      Parameters:
      objectName - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • objectName

      public T objectName(String objectName)
      Initializes the object's name.
      Parameters:
      objectName - the object's name
      Returns:
      the description instance with the update state (builder pattern)
    • nativeClass

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

      public T nativeClass(String nativeClass)
      Initializes the object's window class name.
      Parameters:
      nativeClass - the window class name
      Returns:
      the description instance with the update state (builder pattern)
    • windowId

      public T windowId(Integer windowId)
      Initializes the object's window identifier.
      Parameters:
      windowId - the window ID
      Returns:
      the description instance with the update state (builder pattern)
    • enabled

      public T enabled(Boolean isEnabled)
      Initializes whether this object is enabled.
      Parameters:
      isEnabled - true if enabled
      Returns:
      the description instance with the update state (builder pattern)
    • focused

      public T focused(Boolean isFocused)
      Initializes whether this object has focus.
      Parameters:
      isFocused - true if has focus
      Returns:
      the description instance with the update state (builder pattern)
    • windowClassRegExp

      public T windowClassRegExp(StringProperty windowClassRegExp)
      Initializes the permanent part of the MFC window class.
      Parameters:
      windowClassRegExp - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • windowClassRegExp

      public T windowClassRegExp(String windowClassRegExp)
      Initializes the permanent part of the MFC window class.
      Parameters:
      windowClassRegExp - the permanent part of the MFC window class
      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
      Returns:
      the description instance with the update state (builder pattern)
    • windowTitleRegExp

      public T windowTitleRegExp(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(Boolean isVisible)
      Initializes whether this object is visible.
      Parameters:
      isVisible - true if visible
      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 this object.
      Parameters:
      text - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • text

      public T text(String text)
      Initializes the permanent part of the text associated with this object.
      Parameters:
      text - the text
      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 absolute coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.
      Parameters:
      absX - the absolute X coordinate in pixels
      absY - the absolute Y coordinate in pixels
      Returns:
      the description instance with the update state (builder pattern)
    • absoluteLocation

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

      public T absoluteLocation(Point absLocation)
      Initializes the object's absolute coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.
      Parameters:
      absLocation - the object's absolute coordinates relative to the screen
      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)
    • childWindow

      public T childWindow(Boolean isChildWindow)
      Indicates whether the object's window is a child window.
      Parameters:
      isChildWindow - true if a child window
      Returns:
      the description instance with the update state (builder pattern)
    • ownedWindow

      public T ownedWindow(Boolean isOwnedWindow)
      Indicates whether the object's window has an owner window.
      Parameters:
      isOwnedWindow - true if has an owner window
      Returns:
      the description instance with the update state (builder pattern)