IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces.flex
Class FlexTextAreaTestObject

java.lang.Object   extended by com.rational.test.ft.object.interfaces.TestObject
      extended by com.rational.test.ft.object.interfaces.ClientTestObject
          extended by com.rational.test.ft.object.interfaces.GuiTestObject
              extended by com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject
                  extended by com.rational.test.ft.object.interfaces.flex.FlexScrollBaseTestObject
                      extended by com.rational.test.ft.object.interfaces.flex.FlexTextAreaTestObject
All Implemented Interfaces:
IGraphical

public class FlexTextAreaTestObject
extends FlexScrollBaseTestObject

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 com.rational.test.ft.object.interfaces.TestObject
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, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, hashCode, invoke, invokeProxy, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, setIndexer, setIndexer, setMapProperties, setProperty, toString, updateTestData, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlexTextAreaTestObject

public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)

FlexTextAreaTestObject

public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                               TestObject anchor)

FlexTextAreaTestObject

public FlexTextAreaTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                               TestObject anchor,                               long scriptCommandFlags)

FlexTextAreaTestObject

public FlexTextAreaTestObject(com.rational.test.ft.object.TestObjectReference ref)

FlexTextAreaTestObject

public FlexTextAreaTestObject(TestObject obj)
Method Detail

inputChars

public void inputChars(java.lang.String text)
Dispatched when user enters some text in the textArea

Parameters:
text - the text entered by the user

selectText

public void selectText(java.awt.Point point)
Dispatched when user makes a selection in the text in the TextArea

Parameters:
point - the point upto which the selection made

inputKeys

public void inputKeys(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action

Parameters:
keyCode - The key code value of the key pressed

inputKeys

public void inputKeys(java.lang.String keyCode,                       int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.

Parameters:
keyCode - The key code value of the key pressed
keyModifier - 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.

type

public void type(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action

Parameters:
keyCode - The key code value of the key pressed

type

public void type(java.lang.String keyCode,                  int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.

Parameters:
keyCode - The key code value of the key pressed
keyModifier - 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.

click

public void click()
Dispatched when the user clicks in the text area

Specified by:
click in interface IGraphical
Overrides:
click in class FlexObjectTestObject

click

public void click(java.awt.Point pt)
Dispatched when the user clicks in the text area

Specified by:
click in interface IGraphical
Overrides:
click in class GuiTestObject
Parameters:
pt - the x,y coordinates where the left-mouse click is performed

getText

public java.lang.String getText()
Method to get the text displayed in the textarea

Returns:
Returns the text in the textarea

setText

public void setText(java.lang.String text)
Method to set the text in the textarea

Parameters:
text - text value to be set in the textarea

getSelectedText

public java.lang.String getSelectedText()
Method to get the selected text in the textArea

Returns:
returns the value of the selected text

input

public void input(java.lang.String text)
Dispatched when user inputs characters in the textarea

Parameters:
text - text typed in the textarea