com.hp.lft.sdk

Interface LocationInfoProvider

    • Method Summary

      Modifier and TypeMethod and Description
      java.awt.PointgetAbsoluteLocation()
      Returns this object's absolute coordinates relative to the screen (in pixels).
      java.awt.PointgetLocation()
      Returns this object's coordinates relative to the parent window (in pixels).
      java.awt.DimensiongetSize()
      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.