public class SiebTreeTestObject extends SiebTestObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME |
ignoreTheObjectState, ref
Constructor and Description |
---|
SiebTreeTestObject(SpyMappedTestObject mappedObject)
For internal use.
|
SiebTreeTestObject(SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
SiebTreeTestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
SiebTreeTestObject(TestObjectReference ref)
For internal use.
|
Modifier and Type | Method and Description |
---|---|
void |
collapse(Subitem pathOrIndex)
Collapses a node in the tree view.
|
void |
expand(Subitem pathOrIndex)
Expands a node in the tree view.
|
int |
getChildCount(Subitem pathOrIndex)
Finds the tree item and returns the number of child nodes of the tree item that are displayed on the current page.
|
java.lang.String |
getTreeItemName(Subitem pathOrIndex)
Finds the tree item and returns the visible text of the specified tree item.
|
boolean |
isExists(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified object exists (TRUE) or does not exist (FALSE).
|
boolean |
isExpanded(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified tree node is expanded (TRUE) or collapsed (FALSE).
|
boolean |
isSelected(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified tree node is selected (TRUE) or not selected (FALSE).
|
void |
nextPage()
Scrolls the tree view to the next page.
|
void |
previousPage()
Scrolls the tree view to the previous page.
|
void |
select(java.lang.String position)
Selects a node in the tree view.
|
void |
select(Subitem pathOrIndex)
Selects a node in the tree view.
|
atChild, atChild, atDescendant, atDescendant, getChildOfName, getChildOfName, getChildOfNameAndType, getChildOfNameAndType, getChildOfUIName, getChildOfUIName, getChildOfUINameAndType, getChildOfUINameAndType, getChildren, getChildren, getChildrenOfType, getChildrenOfType, getDescendantsOfName, getDescendantsOfName, getDescendantsOfNameAndType, getDescendantsOfNameAndType, getDescendantsOfType, getDescendantsOfType, getDescendantsOfUIName, getDescendantsOfUIName, getDescendantsOfUINameAndType, getDescendantsOfUINameAndType, submit, submit, submit, submit, submit, submit
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getIWindow, getRole, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
exists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence
compare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistence
public static final java.lang.String CLASSNAME
public SiebTreeTestObject(SpyMappedTestObject mappedObject)
public SiebTreeTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public SiebTreeTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public SiebTreeTestObject(TestObjectReference ref)
public int getChildCount(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic java.lang.String getTreeItemName(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic void nextPage()
public void previousPage()
public void expand(Subitem pathOrIndex)
pathOrIndex
- A Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic void collapse(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic void select(java.lang.String position)
position
- the position of the node (in the CAS supported format) in the treepublic void select(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic boolean isExpanded(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treetrue
if the specified tree node is expanded or false
if collapsedpublic boolean isSelected(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treetrue
if the specified tree node is selected or false
otherwisepublic boolean isExists(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treetrue
if the specified object exists. false
if it doesn not exist.