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

Project Version 2.0

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

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
                  extended bycom.rational.test.ft.object.interfaces.SelectGuiSubitemTestObject
All Implemented Interfaces:
IGraphical, IGraphicalSubitem, ISelect, ISubitem
Direct Known Subclasses:
SelectScrollGuiSubitemTestObject

public class SelectGuiSubitemTestObject
extends GuiSubitemTestObject
implements ISelect

For internal use only.


Constructor Summary
SelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SelectGuiSubitemTestObject(TestObject obj)
          Constructs one GuiSubitemTestObject from another TestObject.
SelectGuiSubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 java.lang.String getSelectedText()
          Allows direct access to the selected text property on the control.
 java.lang.String getText()
          Allows direct access to the text property on the control.
 void select(int index)
          Directly modifies subitem selected in the control.
 void select(java.lang.String item)
          Directly modifies subitem selected in the control.
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiSubitemTestObject
setState, setState, setState
 
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

SelectGuiSubitemTestObject

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

Since:
RFT2.0

SelectGuiSubitemTestObject

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

Since:
RFT2.0

SelectGuiSubitemTestObject

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

Since:
RFT2.0

SelectGuiSubitemTestObject

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

Since:
RFT2.0

SelectGuiSubitemTestObject

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

Since:
RFT2.0
Method Detail

getSelectedText

public java.lang.String getSelectedText()
Description copied from interface: ISelect
Allows direct access to the selected text property on the control.

Specified by:
getSelectedText in interface ISelect
Returns:
The selected text in the control

getText

public java.lang.String getText()
Description copied from interface: ISelect
Allows direct access to the text property on the control.

Specified by:
getText in interface ISelect
Returns:
The text of all elements in the control

select

public void select(java.lang.String item)
Description copied from interface: ISelect
Directly modifies subitem selected in the control. If the specified text is not in the controls list of elements, a SubitemNotFoundException is thrown.

Specified by:
select in interface ISelect
Parameters:
item - the item to update the control with
See Also:
ISelect.select(int)

select

public void select(int index)
Description copied from interface: ISelect
Directly modifies subitem selected in the control. If the specified index is not valid for the active list of elements in the control, a SubitemNotFoundException is thrown.

Specified by:
select in interface ISelect
Parameters:
index - the index of the item to update the control with
See Also:
ISelect.select(String)