public class SLTreeViewItem extends SLBase
Modifier | Constructor and Description |
---|---|
protected |
SLTreeViewItem(JtfObjectHandle handle,
Desktop desktop)
Creates a new SLTreeViewItem with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
collapse()
Collapses the item.
|
void |
expand()
Expands the item.
|
void |
expandSubTree()
Expands the sub tree under this tree item.
|
List<SLTreeViewItem> |
getItems()
Gets a complete list of items.
|
List<String> |
getItemTexts()
Gets a complete list of item texts.
|
boolean |
isExpanded()
Gets a value that indicates whether the nested items in a tree item are expanded or collapsed.
|
boolean |
isLeaf()
Gets a value that indicates whether the tree view item is a leaf item.
|
boolean |
isSelected()
Gets a value that indicates whether a tree item is selected.
|
void |
scrollIntoView()
Scrolls the tree item into view.
|
void |
select()
Selects the item.
|
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
- the handle that identifies the SLTreeViewItemdesktop
- the desktop on which this object livespublic 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.