com.appperfect.devcommon.script.windowelement
Interface WinEdit
- All Superinterfaces:
- IScript, WinObject
public interface WinEdit
- extends WinObject
WinEdit element can be created using createWinEdit API of IScriptEngine
interface. The return value is an instance of WinEdit interface. Once WinEdit
is created, you can play events on it. Apart from events supported on
WinObject, WinEdit also supports events mentioned below.
- See Also:
WinObject
Method Summary |
boolean |
set(java.lang.String text)
To set text in Edit box |
boolean |
setCaretPos(int row,
int column)
To set cursors position at specified line and character. |
boolean |
setSelection(int columnFrom,
int columnTo)
To set the text slection in edit box |
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, selectItem, selectRange, selectRangeItem, setBreakPoint, setIgnored, setImagePath, setRecordedWhileShowingSSLCertificate, setThinkTime, setTitle, type, vScroll, wait |
set
boolean set(java.lang.String text)
- To set text in Edit box
- Parameters:
text
- text to set in edit box
- Returns:
- true if success, false otherwise
setCaretPos
boolean setCaretPos(int row,
int column)
- To set cursors position at specified line and character.
- Parameters:
row
- presenting the line in edit box where the cursor needs to be
setcolumn
- representing the character position where the cursor should be
places.
- Returns:
- true if success, false otherwise
setSelection
boolean setSelection(int columnFrom,
int columnTo)
- To set the text slection in edit box
- Parameters:
columnFrom
- character position from where the selection should startcolumnTo
- character position where the selection should end
- Returns:
- true if success, false otherwise
Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.