com.hp.lft.sdk.stdwin

Interface ListItem



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

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

      • getText

        java.lang.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 an 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 an 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 an error occurs during execution.