com.hp.lft.sdk.winforms

Class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.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 in pixels relative to the screen.
      T absoluteLocation(LocationProperty absLocation)
      Initializes the object's absolute coordinates in pixels relative to the screen.
      T absoluteLocation(java.awt.Point absLocation)
      Initializes the object's absolute coordinates in pixels relative to the screen.
      T childWindow(java.lang.Boolean isChildWindow)
      Indicates whether the object's window is a child window.
      T enabled(java.lang.Boolean isEnabled)
      Initializes whether this object is enabled.
      T focused(java.lang.Boolean isFocused)
      Initializes whether this object has focus.
      T fullNamePath(java.lang.String fullNamePath)
      Initializes the full hierarchy of this object with all parent objects.
      T fullNamePath(StringProperty fullNamePath)
      Initializes the full hierarchy of this object with all parent objects.
      T fullType(java.lang.String fullType)
      Initializes the full type name of this object.
      T fullType(StringProperty fullType)
      Initializes the full type name of this object.
      T location(java.lang.Integer x, java.lang.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(java.awt.Point location)
      Initializes this object's coordinates in pixels relative to the parent window.
      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.
      T objectName(StringProperty objectName)
      Initializes the object's name.
      T objectProperties(java.util.Map<java.lang.String,java.lang.Object> objectProperties)
      Initializes the test object properties, including custom properties of a custom control.
      T ownedWindow(java.lang.Boolean isOwnedWindow)
      Indicates whether the object's window has an owner window.
      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 this object.
      T text(StringProperty text)
      Initializes the permanent part of the text associated with this object.
      T visible(java.lang.Boolean isVisible)
      Initializes whether this object is visible.
      T windowClassRegExp(java.lang.String windowClassRegExp)
      Initializes the permanent part of the MFC window class.
      T windowClassRegExp(StringProperty windowClassRegExp)
      Initializes the permanent part of the MFC window class.
      T windowId(java.lang.Integer windowId)
      Initializes the object's window identifier.
      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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • objectProperties

        public T objectProperties(java.util.Map<java.lang.String,java.lang.Object> objectProperties)
        Initializes the test object properties, including custom properties of a custom control.
        Parameters:
        objectProperties - the test object properties
        Returns:
        the description instance with the update state (builder pattern)
      • 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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(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 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(java.lang.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(java.lang.Integer x,
                          java.lang.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(java.awt.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(java.lang.Integer absX,
                                  java.lang.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(java.awt.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(java.lang.Integer width,
                      java.lang.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(java.awt.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(java.lang.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(java.lang.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)