public class WPFListBox extends WPFSelector
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFListBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFListBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
deselectAll()
複数選択リスト ボックスの選択をクリアします。
|
WPFListBoxItem |
getSelectedItem()
[読み取り専用] 現在選択されている最初の項目。
|
List<WPFListBoxItem> |
getSelectedItems()
[読み取り専用] 現在選択されている項目。
|
List<String> |
getSelectedItemTexts()
[読み取り専用] 現在選択されているすべての項目のテキストを含んだ文字列のリスト。
|
SelectionMode |
getSelectionMode()
[読み取り専用] ListBox の選択動作。
|
void |
scrollIntoView(int itemIndex)
項目をビューにスクロールします。
|
void |
scrollIntoView(ItemIdentifier item)
項目をビューにスクロールします。
|
void |
scrollIntoView(String itemText)
項目をビューにスクロールします。
|
void |
selectAll()
リスト ボックス内のすべての項目を選択します。
|
getSelectedIndex, getSelectedItemText, select, select, select, select, select, select
getItems, getItemTexts, hasItems, isTextSearchEnabled
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, 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 WPFListBox(JtfObjectHandle handle, Desktop desktop)
handle
- WPFListBox を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void deselectAll()
public void scrollIntoView(ItemIdentifier item)
item
- ビューにスクロールする項目public void scrollIntoView(String itemText)
itemText
- ビューにスクロールする項目public void scrollIntoView(int itemIndex)
itemIndex
- ビューにスクロールする項目public void selectAll()
public WPFListBoxItem getSelectedItem()
getSelectedItem
クラス内 WPFSelector
public List<WPFListBoxItem> getSelectedItems()
public List<String> getSelectedItemTexts()
public SelectionMode getSelectionMode()
Copyright 2009-2012 Micro Focus. All Rights Reserved.