com.hp.lft.sdk.winforms

Interface ListItem



  • public interface ListItem
    A single list item belonging to a .NET Windows Forms 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 "" if the list item does not contain any text.
      booleanisAnchor()
      Indicates whether this list item is an anchor item (the item from which a multiple selection span starts).
      booleanisChecked()
      Indicates whether the list item is checked.
      booleanisFocused()
      Indicates whether this list item has the 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 "" if the list item does not contain any text.
        Returns:
        the text value of the list item
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • isFocused

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

        boolean isAnchor()
                  throws GeneralLeanFtException
        Indicates whether this list item is an anchor item (the item from which a multiple selection span starts).
        Returns:
        true if an anchor item
        Throws:
        GeneralLeanFtException - if an error occurs during execution.