Interface ListItem


public interface ListItem
A single list item in a standard Windows list.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the list item's height (in pixels).
    Returns the text value of the list item, or "" when empty.
    boolean
    Indicates whether the list item has focus in a multiple selection list box.
    boolean
    Indicates whether the list item is selected.
  • Method Details

    • getText

      String getText() throws GeneralLeanFtException
      Returns the text value of the list item, or "" when empty.
      Returns:
      the text value of the list item
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isFocused

      boolean isFocused() throws GeneralLeanFtException
      Indicates whether the list item has focus in a multiple selection list box.
      Returns:
      true if the list item has focus in a multiple selection list box.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getHeight

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

      boolean isSelected() throws GeneralLeanFtException
      Indicates whether the list item is selected.
      Returns:
      true, if the list item is selected.
      Throws:
      GeneralLeanFtException - if error occurs during execution