com.hp.lft.sdk.wpf

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

    • Constructor Summary

      ModifierConstructor and Description
      protected Init() 
    • Method Summary

      Modifier and TypeMethod and Description
      TabsoluteLocation(java.lang.Integer absX, java.lang.Integer absY)
      Initializes the object's absolute coordinates relative to the screen (in pixels).
      TabsoluteLocation(LocationProperty absLocation)
      Initializes the object's absolute coordinates relative to the screen (in pixels).
      TabsoluteLocation(java.awt.Point absLocation)
      Initializes the object's absolute coordinates relative to the screen (in pixels).
      TattachedText(java.lang.String attachedText)
      Initializes the static text that is attached to a control.
      TattachedText(StringProperty attachedText)
      Initializes the static text that is attached to a control.
      TcanFocus(java.lang.Boolean canFocus)
      Initializes whether the current element is can focus.
      Tenabled(java.lang.Boolean isEnabled)
      Initializes whether the current element is enabled.
      Tfocused(java.lang.Boolean isFocused)
      Initializes whether the current element is focused.
      TfullNamePath(java.lang.String fullNamePath)
      Initializes the full hierarchy of ObjectName with all parent objects.
      TfullNamePath(StringProperty fullNamePath)
      Initializes the full hierarchy of ObjectName with all parent objects.
      TfullType(java.lang.String fullType)
      Initializes the full type name of the object.
      TfullType(StringProperty fullType)
      Initializes the full type name of the object.
      Tlocation(java.lang.Integer x, java.lang.Integer y)
      Initializes the object's coordinates relative to the parent window (in pixels).
      Tlocation(LocationProperty location)
      Initializes the object's coordinates relative to the parent window (in pixels).
      Tlocation(java.awt.Point location)
      Initializes the object's coordinates relative to the parent window (in pixels).
      TnativeClass(java.lang.String nativeClass)
      Initializes the object's window class name.
      TnativeClass(StringProperty nativeClass)
      Initializes the object's window class name.
      TobjectName(java.lang.String objectName)
      Initializes the object's name as set by the developer.
      TobjectName(StringProperty objectName)
      Initializes the object's name as set by the developer.
      TobjectProperties(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.
      Tsize(java.awt.Dimension size)
      Initializes the test object's size (in pixels).
      Tsize(java.lang.Integer width, java.lang.Integer height)
      Initializes the test object's size (in pixels).
      Tsize(SizeProperty size)
      Initializes the test object's size (in pixels).
      Ttext(java.lang.String text)
      Initializes the permanent part of the text associated with the object.
      Ttext(StringProperty text)
      Initializes the permanent part of the text associated with the object.
      Tvisible(java.lang.Boolean isVisible)
      Initializes whether the current element is visible.
      TwindowTitleRegExp(java.lang.String windowTitleRegExp)
      Initializes the permanent part of the constant part of the window title.
      TwindowTitleRegExp(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

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