public class SparkList extends SparkListBase
修飾子 | コンストラクタと説明 |
---|---|
protected |
SparkList(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SparkList を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
List<Integer> |
getSelectedIndices()
[読み取り専用] 現在選択されている項目のインデックスを表すリスト。
|
List<String> |
getSelectedItems()
[読み取り専用] 現在選択されている項目を表すオブジェクトのリスト。
|
boolean |
isAllowMultipleSelection()
[読み取り専用] 複数選択が可能かどうか。
|
boolean |
isDragEnabled()
[読み取り専用] このコントロールの外に項目をドラッグして他のコントロールにドロップすることができるかどうかを示すフラグ。
|
boolean |
isDragMoveEnabled()
[読み取り専用] ドラッグ&ドロップ操作としてコントロールから項目をコピーするのではなく、移動することができるかどうかを示すフラグ。
|
boolean |
isDropEnabled()
[読み取り専用] ドラッグした項目をコントロール上にドロップできるかどうかを示すフラグ。
|
void |
selectIndex(int itemIndex)
ユーザーがリスト上の項目をクリックしたり、キーボードを使って項目を移動したりしたときにディスパッチされます。
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent)
ユーザーがリスト上の項目をクリックしたり、キーボードを使って項目を移動したりしたときにディスパッチされます。
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
ユーザーがリスト上の項目をクリックしたり、キーボードを使って項目を移動したりしたときにディスパッチされます。
|
getCaretIndex, getItemsCount, getLabelField, getSelectedIndex, getSelectedItem, isRequireSelection, isUseVirtualLayout, select, select, select, type, type
isAutoLayout
dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragStart, dragStart, getColumnNames, getFirstVisibleRow, getLastVisibleRow, getNumColumns, getNumRows, getValues
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, 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, 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 SparkList(JtfObjectHandle handle, Desktop desktop)
handle
- SparkList を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップ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
- この操作が行われた際にキーまたはキーの組み合せが押されていた場合にそれを示す定数。 flexAlt、flexControl、flexControlAlt、flexControlShift、flexControlShiftAlt、flexShift、または flexShiftAlt のいずれかひとつ。 たとえば、Shift と Alt キー押されていた場合には、値は flexShiftAlt になります。public boolean isAllowMultipleSelection()
public boolean isDragEnabled()
public boolean isDragMoveEnabled()
public boolean isDropEnabled()
Copyright 2009-2012 Micro Focus. All Rights Reserved.