public class SWTTree extends Tree
修飾子 | コンストラクタと説明 |
---|---|
protected |
SWTTree(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SWTTree を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
extendSelect(ItemPath itemPath)
選択範囲を拡張して項目の範囲を選択します。
|
void |
extendSelect(String itemPath)
選択範囲を拡張して項目の範囲を選択します。
|
int |
getColumnCount()
[読み取り専用] ツリーの列の数。
|
List<SWTTreeColumn> |
getColumns()
[読み取り専用] ツリーの列のリスト。
|
List<String> |
getContentsOfColumn(boolean rawMode)
指定した列のコンテンツをリストとして取得します 最初の列より後ろの列のコンテンツを取得するには、rawMode と column パラメーターを指定する必要があります。
|
List<String> |
getContentsOfColumn(boolean rawMode,
int column)
指定した列のコンテンツをリストとして取得します 最初の列より後ろの列のコンテンツを取得するには、rawMode と column パラメーターを指定する必要があります。
|
Tree |
getItemsOfColumn()
指定した列の項目をツリーから取得します。
|
Tree |
getItemsOfColumn(boolean allItems)
指定した列の項目をツリーから取得します。
|
Tree |
getItemsOfColumn(boolean allItems,
int column)
指定した列の項目をツリーから取得します。
|
String |
getSelectedTextOfColumn()
指定した列から選択したテキストを取得します。
|
String |
getSelectedTextOfColumn(int column)
指定した列から選択したテキストを取得します。
|
void |
multiSelect(ItemPath itemPath)
ツリーの項目を選択項目の集合に追加します。
|
void |
multiSelect(String itemPath)
ツリーの項目を選択項目の集合に追加します。
|
void |
multiUnselect(ItemPath itemPath)
ツリーの項目を選択項目の集合から削除します。
|
void |
multiUnselect(String itemPath)
ツリーの項目を選択項目の集合から削除します。
|
check, check, collapse, collapse, doubleSelect, doubleSelect, doubleSelect, doubleSelect, expand, expand, getItemCount, getItemPaths, getItemRect, getItemRect, getItemRect, getItemRect, getItems, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, getVisibleItemPaths, getVisibleItems, isAllowsCheck, isAllowsMultiSelect, isExpandable, isExpandable, isExpanded, isExpanded, select, select, setSelectedIndex, setSelectedIndex, setSelectedIndices, setSelectedItem, setSelectedItem, setSelectedItems, uncheck, uncheck
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, 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, 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 SWTTree(JtfObjectHandle handle, Desktop desktop)
handle
- SWTTree を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void extendSelect(ItemPath itemPath)
itemPath
- 選択する項目public void extendSelect(String itemPath)
itemPath
- 選択する項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String)
を参照してください。
public List<String> getContentsOfColumn(boolean rawMode)
rawMode
- true の場合、項目から空白類を取り除きませんpublic List<String> getContentsOfColumn(boolean rawMode, int column)
rawMode
- true の場合、項目から空白類を取り除きませんcolumn
- コンテンツの取得を始める列。. The value is zero-based.public Tree getItemsOfColumn()
public Tree getItemsOfColumn(boolean allItems)
allItems
- true の場合、非表示項目も結果に含まれますpublic Tree getItemsOfColumn(boolean allItems, int column)
allItems
- true の場合、非表示項目も結果に含まれますcolumn
- 項目の取得を始める列。. The value is zero-based.public String getSelectedTextOfColumn()
public String getSelectedTextOfColumn(int column)
column
- テキストを取得する列。. The value is zero-based.public void multiSelect(ItemPath itemPath)
itemPath
- 選択する項目public void multiSelect(String itemPath)
itemPath
- 選択する項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String)
を参照してください。
public void multiUnselect(ItemPath itemPath)
itemPath
- 選択する項目public void multiUnselect(String itemPath)
itemPath
- 選択する項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String)
を参照してください。
public int getColumnCount()
public List<SWTTreeColumn> getColumns()
Copyright 2009-2012 Micro Focus. All Rights Reserved.