Package com.hp.lft.sdk.stdwin
Interface ListViewItem
- All Superinterfaces:
- SupportDragAndDrop
A single list item in a standard Windows list-view object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidClicks the state image icon.voidDouble-clicks state image icon.voidActivates the edit mode for the lists item label to enable renaming.intgetState()Returns the list item's state image index.Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.getSubItemText(int columnIndex) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.getSubItemText(String columnName) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.getText()Returns the text value of the list item, or "" when empty.booleanIndicates whether the list item is in focus in a multiple selection list box.booleanIndicates whether the list item is selected.voidsetItemState(int index) Sets the state of the check box icon of the specified item in the list.Methods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOn
- 
Method Details- 
getTextReturns the text value of the list item, or "" when empty.- Returns:
- text value of the list item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isFocusedIndicates whether the list item is in focus in a multiple selection list box.- Returns:
- true, if the list item is in focus in a multiple selection list box.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isSelectedIndicates whether the list item is selected.- Returns:
- true when the list item is selected.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getStateReturns the list item's state image index.- Returns:
- the list item's state image index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubItemTextReturns the text value of the specified report-style (LVS_REPORT) list-view subitem.- Parameters:
- columnIndex- The 0-based numeric index of the list-view subitem you want to retrieve.
- Returns:
- the text value of the specified report-style (LVS_REPORT) list-view subitem.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubItemTextReturns the text value of the specified report-style (LVS_REPORT) list-view subitem.- Returns:
- the text value of the specified report-style (LVS_REPORT) list-view subitem.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubItemTextReturns the text value of the specified report-style (LVS_REPORT) list-view subitem.- Parameters:
- columnName- the name of the list-view subitem you want to retrieve.
- Returns:
- the text value of the specified report-style (LVS_REPORT) list-view subitem.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setItemStateSets the state of the check box icon of the specified item in the list.- Parameters:
- index- the 0-based state image index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
clickStateClicks the state image icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
doubleClickStateDouble-clicks state image icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
enableLabelEditingActivates the edit mode for the lists item label to enable renaming.
 IMPORTANT: This method only enables the item for renaming. To actually rename the item, you must set its value using the EditField or Editor test object, together with an applicable method.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-