IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

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

java.lang.Object
  extended bycom.rational.test.ft.object.interfaces.TestObject
      extended bycom.rational.test.ft.object.interfaces.GuiTestObject
          extended bycom.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject
              extended bycom.rational.test.ft.object.interfaces.GuiSubitemTestObject
All Implemented Interfaces:
IGraphical, IGraphicalSubitem, ISubitem
Direct Known Subclasses:
FrameSubitemTestObject, ScrollGuiSubitemTestObject, SelectGuiSubitemTestObject, TextGuiSubitemTestObject, TextSelectGuiSubitemTestObject, TrackbarTestObject

public class GuiSubitemTestObject
extends StatelessGuiSubitemTestObject
implements ISubitem, IGraphicalSubitem

Provides access to actions replayed by the mouse or keyboard.

Since:
RFT1.0

Constructor Summary
GuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
GuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
GuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
GuiSubitemTestObject(TestObject obj)
          Constructs one GuiSubitemTestObject from another TestObject.
GuiSubitemTestObject(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 subitems.
 
Methods inherited from class com.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getScreenRectangle, getSubitem, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, 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.TestObject
equals, exists, find, find, find, findAndInvoke, findAndInvoke, findAndInvokeProxy, getChildren, getDescribedObject, getDescribedObjects, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, invoke, invoke, invokeProxy, invokeProxy, isMappedObject, isSameObject, setIndexer, setIndexer, setProperty, toString, unregister, updateTestData, waitForExistence, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getScreenRectangle, getSubitem, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint
 

Constructor Detail

GuiSubitemTestObject

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

Since:
RFT1.0

GuiSubitemTestObject

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

Since:
RFT1.0

GuiSubitemTestObject

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

Since:
RFT1.0

GuiSubitemTestObject

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

Since:
RFT1.0

GuiSubitemTestObject

public GuiSubitemTestObject(TestObject obj)
Constructs one GuiSubitemTestObject from another TestObject. Both are references to the same object.

Since:
RFT2.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 should be 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 should be performed
Since:
RFT1.0

setState

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

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 should be performed
Since:
RFT1.0