|
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.Objectcom.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.FlexNumericStepperTestObject
public class FlexNumericStepperTestObject
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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public FlexNumericStepperTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public FlexNumericStepperTestObject(com.rational.test.ft.object.TestObjectReference ref)
public FlexNumericStepperTestObject(TestObject obj)
Method Detail |
---|
public void change(java.lang.String itemName)
itemName
- The value of the NumericStepper when the change occuredpublic void input(java.lang.String itemName)
itemName
- The character or sequence of characters entered by the userpublic void selectText(java.awt.Point selectPoint)
selectPoint
- the selection point valuepublic 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |