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

Project Version 2.3

com.rational.test.ft.object.interfaces.WPF
Class WpfTextSelectGuiSubitemTestObject

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.WPF.WpfVisualTestObject
                  extended by com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject
                      extended by com.rational.test.ft.object.interfaces.WPF.WpfStatelessGuiSubitemTestObject
                          extended by com.rational.test.ft.object.interfaces.WPF.WpfGuiSubitemTestObject
                              extended by com.rational.test.ft.object.interfaces.WPF.WpfTextSelectGuiSubitemTestObject
All Implemented Interfaces:
IGraphical, ISelect, ISubitem, IText, IWpfGraphical, IWpfGraphicalSubitem

public class WpfTextSelectGuiSubitemTestObject
extends WpfGuiSubitemTestObject
implements IText, ISelect


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
WpfTextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
WpfTextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
WpfTextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
WpfTextSelectGuiSubitemTestObject(TestObject obj)
          Constructs one GuiSubitemTestObject from another TestObject.
WpfTextSelectGuiSubitemTestObject(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)
          Selects the subitem corresponding to the specified index
 void select(java.lang.String item)
          Selects the subitem corresponding to the specified text
 void setText(java.lang.String text)
          Directly modifies the text on the control.
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfGuiSubitemTestObject
setState, setState, setState
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfStatelessGuiSubitemTestObject
click, click, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getScreenPoint, getScreenRectangle, getSubitem, hover, hover, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClick, nClickDrag, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint, nClickDragToScreenPoint, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject
click, click, doubleClick, doubleClick, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getScreenPoint, hover, hover, isPointInObject, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfVisualTestObject
GetChildrenAtPoint, GetLogicalChildren, GetLogicalParent, GetVisualChildren, GetVisualParent
 
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
 
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 

Constructor Detail

WpfTextSelectGuiSubitemTestObject

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

Since:
RFT8.0

WpfTextSelectGuiSubitemTestObject

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

Since:
RFT8.0

WpfTextSelectGuiSubitemTestObject

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

Since:
RFT8.0

WpfTextSelectGuiSubitemTestObject

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

Since:
RFT8.0

WpfTextSelectGuiSubitemTestObject

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

Parameters:
obj - - TestObject
Since:
RFT8.0
Method Detail

getSelectedText

public java.lang.String getSelectedText()
Allows direct access to the selected text property on the control.

Specified by:
getSelectedText in interface ISelect
Returns:
String - The selected text in the control
Since:
RFT8.0

getText

public java.lang.String getText()
Allows direct access to the text property on the control.

Specified by:
getText in interface ISelect
Specified by:
getText in interface IText
Returns:
String - The text of all elements in the control
Since:
RFT8.0

select

public void select(java.lang.String item)
Selects the subitem corresponding to the specified text

Specified by:
select in interface ISelect
Parameters:
item - - String - the item to update the control with
Detail description:
Directly modifies subitem selected in the control. If the specified text is not in the controls list of elements, a SubitemNotFoundException is thrown.
Since:
RFT8.0
See Also:
select(int)

select

public void select(int index)
Selects the subitem corresponding to the specified index

Specified by:
select in interface ISelect
Parameters:
index - - the index of the item to update the control with
Detail description:
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.
Since:
RFT8.0
See Also:
select(String)

setText

public void setText(java.lang.String text)
Directly modifies the text on the control. Any existing text in the control is replaced with the specified text value. This command will attempt to playback this action from the class when possible.

Specified by:
setText in interface IText
Parameters:
text - - The text to update the control with.
Since:
RFT8.0