public class AWTChoice extends AWTComponent
修飾子 | コンストラクタと説明 |
---|---|
protected |
AWTChoice(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい AWTChoice を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getItem(int index)
指定したインデックスの項目を返します。
|
int |
getItemCount()
[読み取り専用] コンボ ボックスの項目の数。
|
List<ItemIdentifier> |
getItems()
[読み取り専用] コンボ ボックス項目のリスト。
|
int |
getSelectedIndex()
[読み取り専用] 選択されている項目のインデックス。
|
ItemIdentifier |
getSelectedItem()
[読み取り専用] 選択されている項目。
|
void |
select(int itemIndex)
コンボ ボックスで指定した項目を選択します。
|
void |
select(ItemIdentifier item)
コンボ ボックスで指定した項目を選択します。
|
void |
select(String itemText)
コンボ ボックスで指定した項目を選択します。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, 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 AWTChoice(JtfObjectHandle handle, Desktop desktop)
handle
- AWTChoice を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic String getItem(int index)
index
- 項目のインデックス。. The value is zero-based.public void select(ItemIdentifier item)
item
- 選択する項目の名前またはインデックスpublic void select(String itemText)
itemText
- 選択する項目の名前またはインデックスpublic void select(int itemIndex)
itemIndex
- 選択する項目の名前またはインデックスpublic int getItemCount()
public List<ItemIdentifier> getItems()
public int getSelectedIndex()
public ItemIdentifier getSelectedItem()
Copyright 2009-2012 Micro Focus. All Rights Reserved.