public class FlexTree extends FlexList
ツリー内の各項目はリーフかブランチのいずれかになります。 リーフ項目とは、ツリー内の各末端にあるノードです。 ブランチ項目とは、リーフ項目またはブランチ項目を含んだノードです。また、空になる場合もあります。
デフォルトでは、リーフは、ファイル アイコンの横のテキスト ラベルで表されます。 ブランチは、フォルダー アイコンの横のテキスト ラベルで表されます。ブランチにはユーザーが開いて子を表示できる展開用矢印が付いています。
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexTree(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexTree を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close(String itemRenderer)
ツリーの分岐を閉じるまたは折りたたみます。
|
void |
close(String itemRenderer,
FlexTriggerEvent triggerEvent)
ツリーの分岐を閉じるまたは折りたたみます。
|
List<Color> |
getDepthColors()
[読み取り専用] Tree コントロールで使用する色の配列(降順)。
|
Color |
getDisabledColor()
[読み取り専用] リストの項目が無効な場合の色。
|
double |
getIndentation()
[読み取り専用] 各ツリー レベルのインデント(ピクセル単位)。
|
boolean |
isEditable()
[読み取り専用] データ プロバイダーの項目を編集できるかどうか。
|
void |
open(String itemRenderer)
ツリーの分岐を開くまたは展開します。
|
void |
open(String itemRenderer,
FlexTriggerEvent triggerEvent)
ツリーの分岐を開くまたは展開します。
|
deselect, deselect, deselect, doubleSelect, dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragStart, dragStart, getAlternatingItemColors, getBackgroundDisabledColor, getColumnCount, getColumnNames, getColumnWidth, getDataTipField, getFirstVisibleRow, getFocusAlpha, getIconField, getLabelField, getLastVisibleRow, getLockedColumnCount, getLockedRowCount, getNumColumns, getNumRows, getRollOverColor, getRowCount, getRowHeight, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, getSelectionColor, getSelectionDisabledColor, getTextRollOverColor, getTextSelectedColor, getValues, getVerticalAlign, isAllowMultipleSelection, isSelectable, isShowDataTips, isUseRollOver, isVariableRowHeight, isWordWrap, multiSelect, multiSelect, multiSelect, scroll, scrollToIndex, select, select, select, selectIndex, selectIndex, selectIndex, type, type
mouseScroll, mouseScroll
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 FlexTree(JtfObjectHandle handle, Desktop desktop)
handle
- FlexTree を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void close(String itemRenderer)
itemRenderer
- 閉じるノードの ListItemRendererpublic void close(String itemRenderer, FlexTriggerEvent triggerEvent)
itemRenderer
- 閉じるノードの ListItemRenderertriggerEvent
- ノードがユーザーとの対話によって閉じられた場合、キーボードによるものかマウスによるものかを識別しますpublic void open(String itemRenderer)
itemRenderer
- 開く項目(ノード)の ListItemRendererpublic void open(String itemRenderer, FlexTriggerEvent triggerEvent)
itemRenderer
- 開く項目(ノード)の ListItemRenderertriggerEvent
- 項目(ノード)がユーザーとの対話によって開かれた場合、キーボードによるものかマウスによるものかを識別しますpublic Color getDisabledColor()
public boolean isEditable()
public double getIndentation()
Copyright 2009-2012 Micro Focus. All Rights Reserved.