Package com.hp.lft.sdk.winforms
Interface ListItem
public interface ListItem
A single list item belonging to a .NET Windows Forms list.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the list item's height (in pixels).getText()
Returns the text value of the list item, or "" if the list item does not contain any text.boolean
isAnchor()
Indicates whether this list item is an anchor item (the item from which a multiple selection span starts).boolean
Indicates whether the list item is checked.boolean
Indicates whether this list item has the focus in a multiple selection list box.boolean
Indicates whether the list item is selected.
-
Method Details
-
getText
Returns the text value of the list item, or "" if the list item does not contain any text.- Returns:
- the text value of the list item
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isFocused
Indicates whether this list item has the focus in a multiple selection list box.- Returns:
- true if has the focus
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getHeight
Returns the list item's height (in pixels).- Returns:
- the list item's height (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isAnchor
Indicates whether this list item is an anchor item (the item from which a multiple selection span starts).- Returns:
- true if an anchor item
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isSelected
Indicates whether the list item is selected.- Returns:
- true if selected
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isChecked
Indicates whether the list item is checked.- Returns:
- true if checked
- Throws:
GeneralLeanFtException
- if error occurs during execution
-