com.hp.lft.sdk.stdwin

Interface StatusBarItem



  • public interface StatusBarItem
    A single status bar item in a standard Windows status bar.
    • Method Summary

      Modifier and TypeMethod and Description
      intgetHeight()
      Returns the status bar item's height (in pixels).
      java.lang.StringgetText()
      Returns the text of the status bar item, or "" when empty.
      intgetWidth()
      Returns the status bar item's width (in pixels).
      intgetX()
      Returns the status bar's x-coordinate (left) relative to the parent window (in pixels).
      intgetY()
      Returns the status bar's y-coordinate (top) relative to the parent window (in pixels).
    • Method Detail

      • getHeight

        int getHeight()
               throws GeneralLeanFtException
        Returns the status bar item's height (in pixels).
        Returns:
        the status bar item's height (in pixels).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getText

        java.lang.String getText()
                          throws GeneralLeanFtException
        Returns the text of the status bar item, or "" when empty.
        Returns:
        the text of the status bar item, or "" when empty.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getX

        int getX()
          throws GeneralLeanFtException
        Returns the status bar's x-coordinate (left) relative to the parent window (in pixels).
        Returns:
        the status bar's x-coordinate (left) relative to the parent window (in pixels).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getY

        int getY()
          throws GeneralLeanFtException
        Returns the status bar's y-coordinate (top) relative to the parent window (in pixels).
        Returns:
        the status bar's y-coordinate (top) relative to the parent window (in pixels).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.