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 FlexNumericStepperTestObject

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.FlexNumericStepperTestObject
All Implemented Interfaces:
IGraphical

public class FlexNumericStepperTestObject
extends FlexObjectTestObject

The NumericStepper control lets the user select a number from an ordered set. The NumericStepper control consists of a single-line input text field and a pair of arrow buttons for stepping through the possible values. The Up Arrow and Down Arrow keys also cycle through the values.


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
           
FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
           
FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
           
FlexNumericStepperTestObject(TestObject obj)
           
FlexNumericStepperTestObject(com.rational.test.ft.object.TestObjectReference ref)
           
 
Method Summary
 void change(java.lang.String itemName)
          Dispatched when the value of the NumericStepper control changes as a result of user interaction
 void input(java.lang.String itemName)
          Dispatched when the user types some value 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 selectText(java.awt.Point selectPoint)
          Dispatched when the user makes selection in the text visible in the NumericStepper
 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

FlexNumericStepperTestObject

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

FlexNumericStepperTestObject

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

FlexNumericStepperTestObject

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

FlexNumericStepperTestObject

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

FlexNumericStepperTestObject

public FlexNumericStepperTestObject(TestObject obj)
Method Detail

change

public void change(java.lang.String itemName)
Dispatched when the value of the NumericStepper control changes as a result of user interaction

Parameters:
itemName - The value of the NumericStepper when the change occured

input

public void input(java.lang.String itemName)
Dispatched when the user types some value in the editable control

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

selectText

public void selectText(java.awt.Point selectPoint)
Dispatched when the user makes selection in the text visible in the NumericStepper

Parameters:
selectPoint - the selection point value

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.