Interface StatusBarItem


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

    Modifier and Type
    Method
    Description
    int
    Returns the status bar item's height (in pixels).
    Returns the text of the status bar item, or "" when empty.
    int
    Returns the status bar item's width (in pixels).
    int
    Returns the status bar's x-coordinate (left) relative to the parent window (in pixels).
    int
    Returns the status bar's y-coordinate (top) relative to the parent window (in pixels).
  • Method Details

    • 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 error occurs during execution
    • getText

      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 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 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 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 error occurs during execution