com.hp.lft.sdk.oracle

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

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

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