|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlexTextArea
FlexTextArea element can be created using createFlexTextArea API of IScriptEngine interface. The return value is an instance of FlexTextArea interface. Once FlexTextArea is created, you can play events on it.
FlexObject
,
FlexDisplayObject
Method Summary | |
---|---|
boolean |
input(java.lang.String text)
To simulate input on flex element |
boolean |
scroll(int position,
int direction,
int detail)
To simulate scroll on flex element |
boolean |
selectText(int beginIndex,
int endIndex)
To simulate select text on flex element |
boolean |
type(int keyCode,
int keyModifier)
To simulate type on flex element |
Methods inherited from interface com.appperfect.devcommon.script.flexelement.FlexScrollBase |
---|
mouseScroll |
Methods inherited from interface com.appperfect.devcommon.script.flexelement.FlexObject |
---|
changeFocus, setFocus |
Methods inherited from interface com.appperfect.devcommon.script.flexelement.FlexDisplayObject |
---|
addAttribute, click, mouseMove, setBreakPoint, setIgnored, setImagePath, setThinkTime, setTitle |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
boolean input(java.lang.String text)
text
- to input
boolean scroll(int position, int direction, int detail)
position
- direction
- to scrolldetail
-
boolean selectText(int beginIndex, int endIndex)
beginIndex
- start index of selectionendIndex
- end index of selection
boolean type(int keyCode, int keyModifier)
keyCode
- key code of the key to typekeyModifier
- key modifier selected viz SHIFT, CTRL, ALT etc
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |