public interface ListViewItem extends SupportDragAndDrop
Modifier and Type | Method and Description |
---|---|
void |
clickState()
Clicks the state image icon.
|
void |
doubleClickState()
Double-clicks state image icon.
|
void |
enableLabelEditing()
Activates the edit mode for the lists item label to enable renaming.
|
int |
getState()
Returns the list item's state image index.
|
java.lang.String |
getSubItemText()
Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.
|
java.lang.String |
getSubItemText(int columnIndex)
Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.
|
java.lang.String |
getSubItemText(java.lang.String columnName)
Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.
|
java.lang.String |
getText()
Returns the text value of the list item, or "" when empty.
|
boolean |
isFocused()
Indicates whether the list item is in focus in a multiple selection list box.
|
boolean |
isSelected()
Indicates whether the list item is selected.
|
void |
setItemState(int index)
Sets the state of the check box icon of the specified item in the list.
|
dragAndDropOn, dragAndDropOn
java.lang.String getText() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionboolean isFocused() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionboolean isSelected() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionint getState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getSubItemText(int columnIndex) throws GeneralLeanFtException
columnIndex
- The 0-based numeric index of the list-view subitem you want to retrieve.GeneralLeanFtException
- if error occurs during executionjava.lang.String getSubItemText() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getSubItemText(java.lang.String columnName) throws GeneralLeanFtException
columnName
- the name of the list-view subitem you want to retrieve.GeneralLeanFtException
- if error occurs during executionvoid setItemState(int index) throws GeneralLeanFtException
index
- the 0-based state image index.GeneralLeanFtException
- if error occurs during executionvoid clickState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid doubleClickState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid enableLabelEditing() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during execution