com.hp.lft.sdk

Interface LocationInfoProvider

    • Method Summary

      Modifier and Type Method and Description
      java.awt.Point getAbsoluteLocation()
      Returns this object's absolute coordinates relative to the screen (in pixels).
      java.awt.Point getLocation()
      Returns this object's coordinates relative to the parent window (in pixels).
      java.awt.Dimension getSize()
      Returns this object's size (in pixels).
    • Method Detail

      • getLocation

        java.awt.Point getLocation()
                            throws GeneralLeanFtException
        Returns this object's coordinates relative to the parent window (in pixels).
        Returns:
        this object's coordinates relative to the parent window (in pixels).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getAbsoluteLocation

        java.awt.Point getAbsoluteLocation()
                                    throws GeneralLeanFtException
        Returns this object's absolute coordinates relative to the screen (in pixels).
        0,0 is the top-left corner of the (primary) monitor.
        Returns:
        this object's absolute coordinates relative to the screen (in pixels).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.