Open topic with navigation

com.hp.lft.sdk.sap.ui5

## Interface ListItem

- All Known Subinterfaces:
    MobileListItem

      public interface ListItem

  An SAPUI5 list item.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getText()` Returns the text value of the list box item.
    `void` | `setData(java.lang.String text)` Enters the specified text in the list item.

- - ### Method Detail

    - #### getText

          java.lang.String getText()
                            throws GeneralLeanFtException

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

    - #### setData

          void setData(java.lang.String text)
                throws GeneralLeanFtException

      Enters the specified text in the list item.
      Parameters:
        `text` - the text to enter.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.