public class FlexTextAreaTestObject extends FlexScrollBaseTestObject
ignoreTheObjectState, ref
Constructor and Description |
---|
FlexTextAreaTestObject(SpyMappedTestObject mappedObject) |
FlexTextAreaTestObject(SpyMappedTestObject mappedObject,
TestObject anchor) |
FlexTextAreaTestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags) |
FlexTextAreaTestObject(TestObjectReference ref) |
Modifier and Type | Method and Description |
---|---|
void |
click()
Dispatched when the user clicks in the text area
|
void |
click(java.awt.Point pt)
Dispatched when the user clicks in the text area
|
java.lang.String |
getSelectedText()
Method to get the selected text in the textArea
|
java.lang.String |
getText()
Method to get the text displayed in the textarea
|
void |
input(java.lang.String text)
Dispatched when user inputs characters in the textarea
|
void |
inputChars(java.lang.String text)
Dispatched when user enters some text in the textArea
|
void |
inputKeys(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action
|
void |
inputKeys(java.lang.String keyCode,
int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.
|
void |
selectText(java.awt.Point point)
Dispatched when user makes a selection in the text in the TextArea
|
void |
setText(java.lang.String text)
Method to set the text in the textarea
|
void |
type(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action
|
void |
type(java.lang.String keyCode,
int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.
|
mouseScroll, scroll, scroll
changeFocus, changeFocus, changeFocus, changeFocus, click, click, getAutomationChildAt, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, performAction, performAction, performAction, performAction, performAction, performAction, performTest, setFocus
canTakeVP, 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, 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, getChildren, 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, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistence
public FlexTextAreaTestObject(SpyMappedTestObject mappedObject)
public FlexTextAreaTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public FlexTextAreaTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public FlexTextAreaTestObject(TestObjectReference ref)
public void inputChars(java.lang.String text)
text
- the text entered by the userpublic void selectText(java.awt.Point point)
point
- the point upto which the selection madepublic void inputKeys(java.lang.String keyCode)
keyCode
- The key code value of the key pressedpublic void inputKeys(java.lang.String keyCode, int keyModifier)
keyCode
- The key code value of the key pressedkeyModifier
- A constant that indicates which key or key combination, if any, was pressed while this operation took place.
One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example,
if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void type(java.lang.String keyCode)
keyCode
- The key code value of the key pressedpublic void type(java.lang.String keyCode, int keyModifier)
keyCode
- The key code value of the key pressedkeyModifier
- A constant that indicates which key or key combination, if any, was pressed while this operation took place.
One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example,
if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void click()
click
in interface IGraphical
click
in class FlexObjectTestObject
public void click(java.awt.Point pt)
click
in interface IGraphical
click
in class GuiTestObject
pt
- the x,y coordinates where the left-mouse click is performedpublic java.lang.String getText()
public void setText(java.lang.String text)
text
- text value to be set in the textareapublic java.lang.String getSelectedText()
public void input(java.lang.String text)
text
- text typed in the textarea