com.hp.lft.sdk.stdwin

Interface ListItem



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

      Modifier and TypeMethod and Description
      intgetHeight()
      Returns the list item's height (in pixels).
      java.lang.StringgetText()
      Returns the text value of the list item, or "" when empty.
      booleanisFocused()
      Indicates whether the list item has focus in a multiple selection list box.
      booleanisSelected()
      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.