public class SLTreeView extends SLBase
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
SLTreeView(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SLTreeView を作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
collapse(ItemPath item)
指定した項目を折りたたみます。
|
void |
collapse(String item)
指定した項目を折りたたみます。
|
void |
expand(ItemPath item)
指定した項目を展開します。
|
void |
expand(String item)
指定した項目を展開します。
|
void |
expandAll()
ツリー内のすべての項目を展開します。
|
double |
getHorizontalScrollPercent()
[読み取り専用] 現在の水平方向スクロールの位置。
|
List<SLTreeViewItem> |
getRootItems()
[読み取り専用] すべてのルート ツリー項目の完全なリスト。
|
List<String> |
getRootItemTexts()
[読み取り専用] すべてのルート ツリー項目のテキストの完全なリスト。
|
SLTreeViewItem |
getSelectedItem()
[読み取り専用] 選択されている項目。
|
ItemPath |
getSelectedItemPath()
[読み取り専用] 選択された項目パスを取得します。
|
String |
getSelectedItemText()
[読み取り専用] 選択されている項目のテキスト。
|
double |
getVerticalScrollPercent()
[読み取り専用] 現在の垂直方向スクロールの位置。
|
List<ItemPath> |
getVisibleItemPaths()
[読み取り専用] ツリーに表示される項目の項目パス。
|
boolean |
isHorizontallyScrollable()
[読み取り専用] ツリー ビューを水平方向にスクロールできるかどうかを示す値。
|
boolean |
isVerticallyScrollable()
[読み取り専用] ツリー ビューを垂直方向にスクロールできるかどうかを示す値。
|
void |
scrollHorizontal(ScrollAmount scrollAmount)
指定した ScrollAmount の分、コンテンツ領域の現在の可視領域を水平方向にスクロールします。
|
void |
scrollVertical(ScrollAmount scrollAmount)
指定した ScrollAmount の分、コンテンツ領域の現在の可視領域を垂直方向にスクロールします。
|
void |
select(ItemPath item)
指定した項目を選択します。
|
void |
select(String item)
指定した項目を選択します。
|
void |
setHorizontalScrollPercent(double percent)
ツリー ビュー内のコンテンツ領域全体のパーセンテージとして、水平スクロール位置を設定します。
|
void |
setVerticalScrollPercent(double percent)
ツリー ビュー内のコンテンツ領域全体のパーセンテージとして、垂直スクロール位置を設定します。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAutomationId, getClassName, getName, getRawChildren, getRawChildren, isEnabled, isFocused, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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, 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 SLTreeView(JtfObjectHandle handle, Desktop desktop)
handle - SLTreeView を識別するハンドルdesktop - このオブジェクトが存在するデスクトップpublic void collapse(ItemPath item)
item - 折りたたむ項目public void collapse(String item)
item - 折りたたむ項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String) を参照してください。
public void expand(ItemPath item)
item - 展開する項目public void expand(String item)
item - 展開する項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String) を参照してください。
public void expandAll()
public void scrollHorizontal(ScrollAmount scrollAmount)
scrollAmount - スクロールする方向と間隔public void scrollVertical(ScrollAmount scrollAmount)
scrollAmount - スクロールする方向と間隔public void select(ItemPath item)
item - 選択する項目public void select(String item)
item - 選択する項目. E.g: /Games/Applications[2]/[0]詳細については、ItemPath.ItemPath(String) を参照してください。
public void setHorizontalScrollPercent(double percent)
percent - 水平方向コンテンツ領域全体のパーセンテージpublic void setVerticalScrollPercent(double percent)
percent - 垂直方向コンテンツ領域全体のパーセンテージpublic boolean isHorizontallyScrollable()
public double getHorizontalScrollPercent()
public List<SLTreeViewItem> getRootItems()
public SLTreeViewItem getSelectedItem()
public ItemPath getSelectedItemPath()
public String getSelectedItemText()
public boolean isVerticallyScrollable()
public double getVerticalScrollPercent()
Copyright 2009-2012 Micro Focus. All Rights Reserved.