public class WPFComboBox extends WPFSelector
あるコンボ ボックス (たとえば、項目のソースを内部的に利用するものなど) では、コンボ ボックスを一旦開かないと、項目をテスト対象アプリケーションで利用できるようにならない場合があります。
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFComboBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFComboBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close()
コンボボックスを閉じます。
|
double |
getMaxDropDownHeight()
[読み取り専用] コンボ ボックス ドロップダウンの最大の高さ。
|
WPFComboBoxItem |
getSelectedItem()
[読み取り専用] 現在選択されている最初の項目。
|
String |
getText()
[読み取り専用] ComboBox のテキスト。
|
boolean |
isDropDownOpen()
[読み取り専用] コンボ ボックスのドロップダウンが現在開いているかどうかを示す値。
|
boolean |
isEditable()
[読み取り専用] コンボ ボックスのテキスト ボックス内のテキストの編集を有効または無効にする値。
|
boolean |
isReadOnly()
[読み取り専用] コンボ ボックスが選択専用モードかどうかを返します。
|
boolean |
isStaysOpenOnEdit()
[読み取り専用] 開いている ComboBox にドロップダウン コントロールが表示されている場合、ユーザーが TextBox をクリックしたときに、このコンボ ボックスが開いたままになるかどうか。
|
void |
open()
コンボボックスを開きます。
|
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, 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 WPFComboBox(JtfObjectHandle handle, Desktop desktop)
handle
- WPFComboBox を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void close()
public void open()
public boolean isDropDownOpen()
public boolean isEditable()
public boolean isReadOnly()
public double getMaxDropDownHeight()
public WPFComboBoxItem getSelectedItem()
getSelectedItem
クラス内 WPFSelector
public boolean isStaysOpenOnEdit()
public String getText()
getText
クラス内 TestObject
Copyright 2009-2012 Micro Focus. All Rights Reserved.