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 FlexComboBaseTestObject

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.FlexComboBaseTestObject
All Implemented Interfaces:
IGraphical
Direct Known Subclasses:
FlexColorPickerTestObject, FlexComboBoxTestObject, FlexDateFieldTestObject

public class FlexComboBaseTestObject
extends FlexObjectTestObject

The ComboBase class is the base class for controls that display text in a text field and have a button that causes a drop-down list to appear where the user can choose which text to display.


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
           
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
           
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
           
FlexComboBaseTestObject(TestObject obj)
           
FlexComboBaseTestObject(com.rational.test.ft.object.TestObjectReference ref)
           
 
Method Summary
 void close()
          Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed
 void close(java.lang.String triggerEvent)
          Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed
 void input(java.lang.String itemName)
          Dispatched when the user enters character in the editable control
 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 open()
          Dispatched when the user clicks the drop-down button to display the drop-down list.
 void open(java.lang.String triggerEvent)
          Dispatched when the user clicks the drop-down button to display the drop-down list.
 void scroll(int position, java.lang.String scrollDirection)
          Dispatched when the user scrolls the ComboBox control's drop-down list
 void scroll(int position, java.lang.String scrollDirection, java.lang.String scrollDetails)
          Dispatched when the user scrolls the ComboBox control's drop-down list
 void scroll(Subitem subitem, java.lang.String scrollDirection)
          Dispatched when the user scrolls the ComboBox control's drop-down list
 void scroll(Subitem subitem, java.lang.String scrollDirection, java.lang.String scrollDetails)
          Dispatched when the user scrolls the ComboBox control's drop-down list
 void selectText(java.awt.Point point)
          Dispatched when the user selects the text in the control
 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.FlexObjectTestObject
changeFocus, changeFocus, changeFocus, changeFocus, click, 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, 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

FlexComboBaseTestObject

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

FlexComboBaseTestObject

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

FlexComboBaseTestObject

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

FlexComboBaseTestObject

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

FlexComboBaseTestObject

public FlexComboBaseTestObject(TestObject obj)
Method Detail

close

public void close()
Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed


close

public void close(java.lang.String triggerEvent)
Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed

Parameters:
triggerEvent - Whether the event was triggered by mouse or keyboard

open

public void open()
Dispatched when the user clicks the drop-down button to display the drop-down list.


open

public void open(java.lang.String triggerEvent)
Dispatched when the user clicks the drop-down button to display the drop-down list.

Parameters:
triggerEvent - Whether the event was triggered by mouse or keyboard

input

public void input(java.lang.String itemName)
Dispatched when the user enters character in the editable control

Parameters:
itemName - The character or sequence of characters entered by the user.

scroll

public void scroll(int position,                    java.lang.String scrollDirection)
Dispatched when the user scrolls the ComboBox control's drop-down list

Parameters:
position - The new scroll position
scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.

scroll

public void scroll(int position,                    java.lang.String scrollDirection,                    java.lang.String scrollDetails)
Dispatched when the user scrolls the ComboBox control's drop-down list

Parameters:
position - The new scroll position.
scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
scrollDetails - Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT

selectText

public void selectText(java.awt.Point point)
Dispatched when the user selects the text in the control

Parameters:
point - Selected item's start and end position in the form of point

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.

scroll

public void scroll(Subitem subitem,                    java.lang.String scrollDirection)
Dispatched when the user scrolls the ComboBox control's drop-down list

Parameters:
subitem - The subitem giving the value of the scroll position
scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.

scroll

public void scroll(Subitem subitem,                    java.lang.String scrollDirection,                    java.lang.String scrollDetails)
Dispatched when the user scrolls the ComboBox control's drop-down list

Parameters:
subitem - The subitem giving the value of the scroll position
scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
scrollDetails - Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT