public class CheckedListBox extends ListBox
Modifier | Constructor and Description |
---|---|
protected |
CheckedListBox(JtfObjectHandle handle,
Desktop desktop)
Creates a new CheckedListBox with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
check(int itemIndex)
Selects an item from the checked list box.
|
void |
check(ItemIdentifier item)
Selects an item from the checked list box.
|
void |
check(String itemText)
Selects an item from the checked list box.
|
List<Integer> |
getCheckedIndices()
Gets the indices of the checked item(s).
|
List<ItemIdentifier> |
getCheckedItems()
Gets the names of the checked item(s).
|
void |
setCheckedIndices(List<Integer> checkedIndices)
Sets the indices of the checked item(s).
|
void |
setCheckedItems(List<ItemIdentifier> checkedItems)
Sets the names of the checked item(s).
|
void |
uncheck(int itemIndex)
Selects an item from the checked list box.
|
void |
uncheck(ItemIdentifier item)
Selects an item from the checked list box.
|
void |
uncheck(String itemText)
Selects an item from the checked list box.
|
doubleSelect, doubleSelect, doubleSelect, doubleSelect, doubleSelect, doubleSelect, extendSelect, extendSelect, extendSelect, getItemCount, getItems, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, isAllowsMultiSelect, multiSelect, multiSelect, multiSelect, multiUnselect, multiUnselect, multiUnselect, select, select, select, selectRange, selectRange, selectRange, selectRange, selectRange, selectRange, selectRange, selectRange, selectRange, setSelectedIndex, setSelectedIndices, setSelectedItem, setSelectedItem, setSelectedItem, setSelectedItems
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected CheckedListBox(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the CheckedListBoxdesktop
- the desktop on which this object livespublic void check(ItemIdentifier item)
item
- the item to selectpublic void check(String itemText)
itemText
- the item to selectpublic void check(int itemIndex)
itemIndex
- the item to selectpublic void uncheck(ItemIdentifier item)
item
- the item to selectpublic void uncheck(String itemText)
itemText
- the item to selectpublic void uncheck(int itemIndex)
itemIndex
- the item to selectpublic void setCheckedIndices(List<Integer> checkedIndices)
checkedIndices
- the indices of the checked item(s)public List<ItemIdentifier> getCheckedItems()
public void setCheckedItems(List<ItemIdentifier> checkedItems)
checkedItems
- the names of the checked item(s)Copyright 2009-2012 Micro Focus. All Rights Reserved.