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.int
Returns the number of visible columns in the list-view object.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods 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, selectRange
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMove
Methods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindow
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-