com.hp.lft.sdk.java

Class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.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 coordinates in pixels relative to the screen.
      TabsoluteLocation(LocationProperty absLocation)
      Initializes the object's coordinates in pixels relative to the screen.
      TabsoluteLocation(java.awt.Point absLocation)
      Initializes the object's coordinates in pixels relative to the screen.
      TattachedText(java.lang.String attachedText)
      Initializes the static text that is attached to an object.
      TattachedText(StringProperty attachedText)
      Initializes the static text that is attached to an object.
      TbackgroundColor(java.lang.String backgroundColor)
      Initializes the object's background color.
      TbackgroundColor(StringProperty backgroundColor)
      Initializes the object's background color.
      Tenabled(java.lang.Boolean isEnabled)
      Initializes whether this object is enabled.
      Tfocused(java.lang.Boolean isFocused)
      Initializes whether this object has focus.
      TforegroundColor(java.lang.String foregroundColor)
      Initializes the object's foreground color.
      TforegroundColor(StringProperty foregroundColor)
      Initializes the object's foreground color.
      Tlabel(java.lang.String label)
      Initializes object's label.
      Tlabel(StringProperty label)
      Initializes object's label.
      Tlocation(java.lang.Integer x, java.lang.Integer y)
      Initializes this object's coordinates in pixels relative to the parent window.
      Tlocation(LocationProperty location)
      Initializes this object's coordinates in pixels relative to the parent window.
      Tlocation(java.awt.Point location)
      Initializes this object's coordinates in pixels relative to the parent window.
      TnativeClass(java.lang.String nativeClass)
      Initializes object's Java class name.
      TnativeClass(StringProperty nativeClass)
      Initializes object's Java class name.
      TobjectName(java.lang.String objectName)
      Initializes object's internal name.
      TobjectName(StringProperty objectName)
      Initializes object's internal name.
      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.
      Tpath(java.lang.String path)
      Initializes the object's hierarchy (object ancestors).
      Tpath(StringProperty path)
      Initializes the object's hierarchy (object ancestors).
      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.
      TtagName(java.lang.String tagName)
      Initializes test object's name.
      TtagName(StringProperty tagName)
      Initializes test object's name.
      Tvisible(java.lang.Boolean isVisible)
      Initializes whether this object is visible.
      Twrapped(java.lang.Boolean isWrapped)
      Initializes whether this object is wrapped.
      • 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 object's Java 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 object's Java class name.
        Parameters:
        nativeClass - object's Java class name.
        Returns:
        the description instance with the update state (builder pattern).
      • tagName

        public T tagName(java.lang.String tagName)
        Initializes test object's name.
        Parameters:
        tagName - test object's name.
        Returns:
        the description instance with the update state (builder pattern).
      • label

        public T label(java.lang.String label)
        Initializes object's label.
        Parameters:
        label - object's label.
        Returns:
        the description instance with the update state (builder pattern).
      • path

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

        public T path(java.lang.String path)
        Initializes the object's hierarchy (object ancestors).
        Parameters:
        path - the object's hierarchy (object ancestors).
        Returns:
        the description instance with the update state (builder pattern).
      • objectName

        public T objectName(StringProperty objectName)
        Initializes object's internal 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 object's internal name.
        Parameters:
        objectName - object's internal name.
        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)
      • attachedText

        public T attachedText(StringProperty attachedText)
        Initializes the static text that is attached to an object.
        Parameters:
        attachedText - a StringProperty or RegExpProperty.
        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 an object.
        Parameters:
        attachedText - the static text that is attached to an object.
        Returns:
        the description instance with the update state (builder pattern).
      • backgroundColor

        public T backgroundColor(java.lang.String backgroundColor)
        Initializes the object's background color.
        Parameters:
        backgroundColor - the object's background color.
        Returns:
        the description instance with the update state (builder pattern).
      • backgroundColor

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

        public T foregroundColor(java.lang.String foregroundColor)
        Initializes the object's foreground color.
        Parameters:
        foregroundColor - the object's foreground color.
        Returns:
        the description instance with the update state (builder pattern).
      • foregroundColor

        public T foregroundColor(StringProperty foregroundColor)
        Initializes the object's foreground color.
        Parameters:
        foregroundColor - a StringProperty or RegExpProperty.
        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).
      • wrapped

        public T wrapped(java.lang.Boolean isWrapped)
        Initializes whether this object is wrapped.
        Parameters:
        isWrapped - true if wrapped.
        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).
      • 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 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(java.awt.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(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).