Interface ListView

All Superinterfaces:
Clickable, DoubleClickable, EnabledProvider, ListBase<ListViewItem>, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider

public interface ListView extends UiObjectBase, TestObject, ListBase<ListViewItem>
A .NET Windows Forms list-view object.
  • Method Details

    • getVisibleColumnsCount

      int getVisibleColumnsCount() throws GeneralLeanFtException
      Returns the number of visible columns in the list-view object.
      Returns:
      the number of visible columns
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getCheckedItems

      List<ListViewItem> getCheckedItems() throws GeneralLeanFtException
      Returns items marked as checked to a unmodified list object.
      Returns:
      items marked as checked
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getColumnHeader

      String getColumnHeader(int columnIndex) throws GeneralLeanFtException
      Returns the header text of the specified (report-style) list-view column.
      Parameters:
      columnIndex - the 0-based index of the list column
      Returns:
      the header text
      Throws:
      GeneralLeanFtException - if error occurs during execution