Open topic with navigation

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 Type | Method and Description
    --- | ---
    `int` | `getHeight()` Returns the status bar item's height (in pixels).
    `java.lang.String` | `getText()` Returns the text of the status bar item, or "" when empty.
    `int` | `getWidth()` Returns the status bar item's width (in pixels).
    `int` | `getX()` Returns the status bar's x-coordinate (left) relative to the parent window (in pixels).
    `int` | `getY()` 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.

    - #### getWidth

          int getWidth()
                throws GeneralLeanFtException

      Returns the status bar item's width (in pixels).
      Returns:
        the status bar item's width (in pixels).
      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.