Package com.hp.lft.sdk.winforms
Interface ListView
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,ListBase<ListViewItem>,LocationInfoProvider,SupportDragAndDrop,SupportSendKeys,SupportsNativeObject,TestObject,TestObjectDescriber,UiObjectBase,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A .NET Windows Forms list-view object.
-
Method Summary
Modifier and TypeMethodDescriptionReturns items marked as checked to a unmodified list object.getColumnHeader(int columnIndex) Returns the header text of the specified (report-style) list-view column.intReturns the number of visible columns in the list-view object.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.winforms.ListBase
activateItem, activateItem, activateItem, activateItem, activateItem, activateItem, deselect, deselect, deselect, extendSelect, extendSelect, extendSelect, getErrorText, getItem, getItems, getSelectedItems, select, select, select, selectRange, selectRange, selectRange, selectRange, selectRange, selectRangeMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getVisibleColumnsCount
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
Returns items marked as checked to a unmodified list object.- Returns:
- items marked as checked
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getColumnHeader
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
-