com.appperfect.devcommon.script.windowelement
Interface WinTreeView

All Superinterfaces:
IScript, WinObject

public interface WinTreeView
extends WinObject

WinTreeView element can be created using createWinTreeView API of IScriptEngine interface. The return value is an instance of WinTreeView interface. Once WinTreeView is created, you can play events on it. Apart from events supported on WinObject, WinTreeView also supports events mentioned below.

See Also:
WinObject

Field Summary
 
Fields inherited from interface com.appperfect.devcommon.script.windowelement.WinObject
micLineNext, micLinePrev, micPageNext, micPagePrev, micScrollEnd, micScrollStart, micSetPos
 
Method Summary
 boolean collapse(java.lang.String nodePath)
 To collapse the specified node in TreeView control
 boolean expand(java.lang.String nodePath)
 To expand the specified node in TreeView control
 boolean expandAll(java.lang.String nodePath)
 To expand the specified node in TreeView control and all the nodes below it
 boolean selectItem(java.lang.String nodePath)
 To select specified item in TreeView control
 
Methods inherited from interface com.appperfect.devcommon.script.windowelement.WinObject
accDoDefaultAction, activate, addAttribute, captureImage, click, close, dblClick, deSelect, deSelectItem, drag, drop, extendSelect, extendSelectItem, get_accChildCount, get_accDescription, get_accHeight, get_accHelp, get_accKeyboardShortcut, get_accLocationLeft, get_accLocationTop, get_accName, get_accRole, get_accState, get_accValue, get_accWidth, getItem, getItems, getItemsCount, getSelectedItem, getSelectedItems, getText, hScroll, maximize, minimize, mouseMove, restore, rightClick, select, selectRange, selectRangeItem, setBreakPoint, setIgnored, setImagePath, setRecordedWhileShowingSSLCertificate, setThinkTime, setTitle, type, vScroll, wait
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

collapse

boolean collapse(java.lang.String nodePath)
To collapse the specified node in TreeView control

Parameters:
nodePath - is the text representing the complete path of tree item to be collapsed. Each item is separated by a semicolon (;)
Returns:
true if event was executed successfully, returns false if there is any failure during execution

expand

boolean expand(java.lang.String nodePath)
To expand the specified node in TreeView control

Parameters:
nodePath - is the text representing the complete path of tree item to be expanded. Each item is separated by a semicolon (;)
Returns:
true if event was executed successfully, returns false if there is any failure during execution

expandAll

boolean expandAll(java.lang.String nodePath)
To expand the specified node in TreeView control and all the nodes below it

Parameters:
nodePath - is the text representing the complete path of tree item to be expanded. Each item is separated by a semicolon (;)
Returns:
true if event was executed successfully, returns false if there is any failure during execution

selectItem

boolean selectItem(java.lang.String nodePath)
To select specified item in TreeView control

Specified by:
selectItem in interface WinObject
Parameters:
nodePath - is the text representing the complete path of tree item to be selected. Each item is separated by a semicolon (;)
Returns:
true if event was executed successfully, returns false if there is any failure during execution


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.