public class FlexComboBox extends FlexComboBase
ComboBox は編集可能にできます。この場合、リストに含まれないエントリを、ユーザーが ComboBox の TextInput 部分に入力できます。
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
FlexComboBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexComboBox を作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<Color> |
getAlternatingItemColors()
[読み取り専用] ドロップダウン リストの背景色の代替パターン配列。
|
List<String> |
getColumnNames()
[読み取り専用] データ内のすべての列の名前を含むリスト。
|
int |
getFirstVisibleRow()
[読み取り専用] 最初の可視の子のインデックス。
|
int |
getLastVisibleRow()
[読み取り専用] 最後の可視の子のインデックス。
|
int |
getNumColumns()
[読み取り専用] 利用可能なデータ中の列の合計数。
|
int |
getNumRows()
[読み取り専用] 利用可能なデータ中の行の合計数。
|
Color |
getRollOverColor()
[読み取り専用] ドロップダウン リストの rollOverColor。
|
Color |
getSelectionColor()
[読み取り専用] ドロップダウン リストの selectionColor。
|
List<List<String>> |
getValues(int start,
int end)
コンポーネントのすべての部分のオートメーション値を含む配列を返します。
|
void |
select(String itemRenderer)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
void |
select(String itemRenderer,
FlexTriggerEvent triggerEvent)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
void |
select(String itemRenderer,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
void |
selectIndex(int itemIndex)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
単一の項目が選択されたときにディスパッチされるイベントの、イベント オブジェクトの type プロパティの値を定義します。
|
close, close, getBackgroundAlpha, getBackgroundColor, getBackgroundImage, getBackgroundSize, getColor, getDisabledColor, getFillAlphas, getFillColors, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHighlightColor, getRestrict, getSelectedIndex, getText, getTextAlign, getTextDecoration, getTextIndent, input, isDropShadowEnabled, isEditable, open, open, scroll, selectText, type, typechangeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocusclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected FlexComboBox(JtfObjectHandle handle, Desktop desktop)
handle - FlexComboBox を識別するハンドルdesktop - このオブジェクトが存在するデスクトップpublic List<List<String>> getValues(int start, int end)
戻り値は行の配列で、各行は項目の配列になります。
start - 開始点の子のインデックス。 デフォルト値は 0 です。end - 終了点の子のインデックス。 デフォルト値は 0 です。public void select(String itemRenderer)
itemRenderer - 項目の項目レンダラ オブジェクトpublic void select(String itemRenderer, FlexTriggerEvent triggerEvent)
itemRenderer - 項目の項目レンダラ オブジェクトtriggerEvent - アクションをトリガしたマウスやキーボード イベントのようなイベントpublic void select(String itemRenderer, FlexTriggerEvent triggerEvent, ModifierKey keyModifier)
itemRenderer - 項目の項目レンダラ オブジェクトtriggerEvent - アクションをトリガしたマウスやキーボード イベントのようなイベントkeyModifier - 使用されるキー修飾(Ctrl キーなど)public void selectIndex(int itemIndex)
itemIndex - 選択される項目のデータ プロバイダー インデックスpublic void selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent)
itemIndex - 選択される項目のデータ プロバイダー インデックスtriggerEvent - アクションをトリガしたマウスやキーボード イベントのようなイベントpublic void selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
itemIndex - 選択される項目のデータ プロバイダー インデックスtriggerEvent - アクションをトリガしたマウスやキーボード イベントのようなイベントkeyModifier - 使用されるキー修飾(Ctrl キーなど)public List<Color> getAlternatingItemColors()
値は 2 つ以上の色の配列になります。 定義されていない場合、ドロップダウン リストの背景色スタイルが行に使用されます。 デフォルト値は未定義です。
public int getFirstVisibleRow()
public int getLastVisibleRow()
public int getNumColumns()
public int getNumRows()
public Color getRollOverColor()
public Color getSelectionColor()
Copyright 2009-2012 Micro Focus. All Rights Reserved.