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 FlexDateChooserTestObject

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

public class FlexDateChooserTestObject
extends FlexObjectTestObject

The DateChooser control displays the name of a month, the year, and a grid of the days of the month, with columns labeled for the day of the week. The user can select a date, a range of dates, or multiple dates. The control contains forward and back arrow buttons for changing the month and year. You can let users select multiple dates, disable the selection of certain dates, and limit the display to a range of dates


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
FlexDateChooserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
           
FlexDateChooserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
           
FlexDateChooserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
           
FlexDateChooserTestObject(TestObject obj)
           
FlexDateChooserTestObject(com.rational.test.ft.object.TestObjectReference ref)
           
 
Method Summary
 void change(java.lang.String itemName)
          Dispatched when a date is selected or changed
 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 scroll(java.lang.String dateScrollDetails)
          Dispatched when the month or year changes due to user interaction.
 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

FlexDateChooserTestObject

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

FlexDateChooserTestObject

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

FlexDateChooserTestObject

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

FlexDateChooserTestObject

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

FlexDateChooserTestObject

public FlexDateChooserTestObject(TestObject obj)
Method Detail

change

public void change(java.lang.String itemName)
Dispatched when a date is selected or changed

Parameters:
itemName - The new selected date of the CalendarLayout

scroll

public void scroll(java.lang.String dateScrollDetails)
Dispatched when the month or year changes due to user interaction.

Parameters:
dateScrollDetails - Provides the details of the scroll activity as month or year scroll

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.