Share this page

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.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: