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

Project Version 2.3

com.rational.test.ft.object.interfaces
Class SubitemTestObject

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.SubitemTestObject
All Implemented Interfaces:
IGraphical, ISubitem

public class SubitemTestObject
extends GuiTestObject
implements ISubitem

Defines the methods that must be programmatically supported for access to subitems. Use of the GuiSubitemTestObject enables access to actions replayed by the mouse or the keyboard.

Since:
RFT1.0

Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SubitemTestObject(TestObject obj)
          Constructs a SubitemTestObject from a TestObject.
SubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 void setState(Action action)
          Modifies the state of a subitem.
 void setState(Action action, Subitem item)
          Modifies the state of the subitem at a specified index.
 void setState(Action action, Subitem start, Subitem end)
          Modifies the state of a range of subitem.
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
canTakeVP, click, click, 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, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, 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, 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

SubitemTestObject

public SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.

Since:
RFT1.0

SubitemTestObject

public SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                          TestObject anchor)
For internal use.

Since:
RFT1.0

SubitemTestObject

public SubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                          TestObject anchor,                          long scriptCommandFlags)
For internal use.

Since:
RFT1.0

SubitemTestObject

public SubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.

Since:
RFT1.0

SubitemTestObject

public SubitemTestObject(TestObject obj)
Constructs a SubitemTestObject from a TestObject. Both are references to the same object.

Since:
RFT1.0
Method Detail

setState

public void setState(Action action,                      Subitem item)
Modifies the state of the subitem at a specified index.

Specified by:
setState in interface ISubitem
Parameters:
item - the subitem to act upon
action - the action that is performed
Since:
RFT1.0

setState

public void setState(Action action)
Modifies the state of a subitem.

Specified by:
setState in interface ISubitem
Parameters:
action - the action that is performed
Since:
RFT1.0

setState

public void setState(Action action,                      Subitem start,                      Subitem end)
Modifies the state of a range of subitem.

Specified by:
setState in interface ISubitem
Parameters:
start - the first subitem to act upon
end - the last subitem to act upon
action - the action that is performed
Since:
RFT1.0