|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.object.interfaces.TestObject com.rational.test.ft.object.interfaces.ClientTestObject com.rational.test.ft.object.interfaces.GuiTestObject com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject com.rational.test.ft.object.interfaces.flex.FlexScrollBaseTestObject com.rational.test.ft.object.interfaces.flex.FlexTextAreaTestObject
public class FlexTextAreaTestObject
The TextArea control is a multiline text field with a border and optional scroll bars. The TextArea control supports the HTML rendering capabilities of the Adobe Flash Player
Field Summary |
---|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
Constructor Summary | |
---|---|
FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
|
|
FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
|
|
FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
|
|
FlexTextAreaTestObject(TestObject obj)
|
|
FlexTextAreaTestObject(com.rational.test.ft.object.TestObjectReference ref)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexScrollBaseTestObject |
---|
mouseScroll, scroll, scroll |
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject |
---|
changeFocus, changeFocus, changeFocus, changeFocus, click, click, getAutomationChildAt, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, performAction, performAction, performAction, performAction, performAction, performAction, performTest, setFocus |
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
---|
canTakeVP, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject |
---|
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public FlexTextAreaTestObject(com.rational.test.ft.object.TestObjectReference ref)
public FlexTextAreaTestObject(TestObject obj)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |