Open topic with navigation

com.hp.lft.sdk.java

# Interface ListItem

-     public interface ListItem

  A single list item in a Java list.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `int` | `getIndex()` Returns the 0-based index of the list item.
    `java.lang.String` | `getText()` Returns the text value of the list item.

- - ### Method Detail

    - #### getText

          java.lang.String getText()
                            throws GeneralLeanFtException

      Returns the text value of the list item.
      Returns:
        the text value of the list item.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getIndex

          int getIndex()
                throws GeneralLeanFtException

      Returns the 0-based index of the list item.
      Returns:
        the index of the list item.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.