public class SLTreeViewItem extends SLBase
Modifier | Constructor and Description |
---|---|
protected |
SLTreeViewItem(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SLTreeViewItem。
|
Modifier and Type | Method and Description |
---|---|
void |
collapse()
折叠项目。
|
void |
expand()
展开项目。
|
void |
expandSubTree()
展开此树项目下的子树。
|
List<SLTreeViewItem> |
getItems()
获取 项目的完整列表。
|
List<String> |
getItemTexts()
获取 项目文本的完整列表。
|
boolean |
isExpanded()
获取 表示树项目中的嵌套项目是否可展开或可折叠的值。
|
boolean |
isLeaf()
获取 确定树视图项目是否是叶项的值。
|
boolean |
isSelected()
获取 表示树项目是否选中的值。
|
void |
scrollIntoView()
滚动树项目至视图。
|
void |
select()
选择项目。
|
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, 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 SLTreeViewItem(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SLTreeViewItem 的句柄desktop
- 此对象所在的桌面public void collapse()
public void expand()
public void expandSubTree()
public void scrollIntoView()
public void select()
public boolean isExpanded()
public boolean isLeaf()
public boolean isSelected()
public List<SLTreeViewItem> getItems()
Copyright 2009-2012 Micro Focus. All Rights Reserved.