public class JComboBox extends JComponent
修飾子 | コンストラクタと説明 |
---|---|
protected |
JComboBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい JComboBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getItem(int index)
指定したインデックスの項目を返します。
|
int |
getItemCount()
[読み取り専用] リスト項目の数。
|
List<ItemIdentifier> |
getItems()
[読み取り専用] すべての含まれる項目のリスト。
|
int |
getSelectedIndex()
[読み取り専用] 現在選択されている項目のインデックス。.
|
ItemIdentifier |
getSelectedItem()
[読み取り専用] 現在選択されている項目。
|
boolean |
isEditable()
[読み取り専用] コンボ ボックスが編集可能かどうか。
|
void |
select(int itemIndex)
指定した項目を選択します。
|
void |
select(ItemIdentifier item)
指定した項目を選択します。
|
void |
select(String itemText)
指定した項目を選択します。
|
getToolTipText
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 JComboBox(JtfObjectHandle handle, Desktop desktop)
handle
- JComboBox を識別するハンドル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 boolean isEditable()
public int getItemCount()
public List<ItemIdentifier> getItems()
public int getSelectedIndex()
public ItemIdentifier getSelectedItem()
Copyright 2009-2012 Micro Focus. All Rights Reserved.