com.hp.lft.sdk.oracle

Class UiObjectBaseDescription

    • Constructor Detail

      • UiObjectBaseDescription

        public UiObjectBaseDescription()
        Constructs a new instance of UiObjectDescriptionBase.
      • UiObjectBaseDescription

        protected UiObjectBaseDescription(UiObjectBaseDescription.Init<?> init)
        Initializes a new instance of the UiObjectBaseDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setObjectType

        public void setObjectType(String objectType)
        Sets the general object type.
        Parameters:
        objectType - the general object type.
      • getObjectType

        public StringProperty getObjectType()
        Returns the general object type.
        Returns:
        the general object type.
      • setLocation

        public void setLocation(LocationProperty location)
        Sets the object's coordinates in pixels relative to the parent window.
        Parameters:
        location - the coordinates relative to the parent window.
      • setLocation

        public void setLocation(Integer x,
                                Integer y)
        Sets the object's coordinates in pixels relative to the parent window.
        Parameters:
        x - in pixels.
        y - in pixels.
      • setLocation

        public void setLocation(Point location)
        Sets the object's coordinates in pixels relative to the parent window.
        Parameters:
        location - the coordinates relative to the parent window.
      • getLocation

        public LocationProperty getLocation()
        Returns the object's coordinates in pixels relative to the parent window.
        Returns:
        the coordinates relative to the parent window.
      • setAbsoluteLocation

        public void setAbsoluteLocation(LocationProperty absLocation)
        Sets 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:
        absLocation - the coordinates relative to the screen.
      • setAbsoluteLocation

        public void setAbsoluteLocation(Integer absX,
                                        Integer absY)
        Sets 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.
      • setAbsoluteLocation

        public void setAbsoluteLocation(Point absLocation)
        Sets the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.
        Parameters:
        absLocation - the coordinates relative to the screen.
      • getAbsoluteLocation

        public LocationProperty getAbsoluteLocation()
        Returns the object's coordinates in pixels relative to the screen.

        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.

        Returns:
        the coordinates relative to the screen.
      • setSize

        public void setSize(SizeProperty size)
        Sets the test object's size in pixels.
        Parameters:
        size - the size.
      • setSize

        public void setSize(Dimension size)
        Sets the test object's size in pixels.
        Parameters:
        size - the size.
      • setSize

        public void setSize(Integer width,
                            Integer height)
        Sets the test object's size in pixels.
        Parameters:
        width - in pixels.
        height - in pixels.
      • getSize

        public SizeProperty getSize()
        Returns the test object's size in pixels.
        Returns:
        the size.