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 WpfToggleTestObject

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.WpfToggleTestObject
All Implemented Interfaces:
IGraphical, IToggle, IWpfGraphical
Direct Known Subclasses:
WpfToggleGUITestObject

public class WpfToggleTestObject
extends WpfGuiTestObject
implements IToggle

Serves as the base TestObject implementation of the IToggle interface.

Since:
RFT8.0

Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
WpfToggleTestObject(TestObject obj)
          Constructs one WpfToggleTestObject from another TestObject.
WpfToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 void deselect()
          Sets the state of the associated object to NOT_SELECTED.
 State getState()
          Returns the state of the associated object.
 void indeterminate()
          Sets the state of the associated object to INDETERMINATE.
 void select()
          Sets the state of the associated object to STATE_SELECTED.
 void setState(State state)
          Sets the state of the associated object to the specified state.
 
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

WpfToggleTestObject

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

Since:
RFT8.0

WpfToggleTestObject

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

Since:
RFT8.0

WpfToggleTestObject

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

Since:
RFT8.0

WpfToggleTestObject

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

Since:
RFT8.0

WpfToggleTestObject

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

Since:
RFT8.0
Method Detail

setState

public void setState(State state)
Sets the state of the associated object to the specified state.

Specified by:
setState in interface IToggle
Parameters:
state - - State - the state to be set
Since:
RFT8.0
See Also:
com.rational.test.ft.script.State}, com.rational.test.ft.object.interfaces.IToggle#setState(State)}

getState

public State getState()
Returns the state of the associated object.

Specified by:
getState in interface IToggle
Returns:
State - The current state of the TestObject
Since:
RFT8.0
See Also:
com.rational.test.ft.script.State}

select

public void select()
Sets the state of the associated object to STATE_SELECTED.

Specified by:
select in interface IToggle
Detail description:
The UnableToPerformActionException exception is thrown if this action cannot be performed.
Since:
RFT8.0
See Also:
com.rational.test.ft.script.State}, com.rational.test.ft.script.State#isSelected()}, com.rational.test.ft.script.State#getState()}

deselect

public void deselect()
Sets the state of the associated object to NOT_SELECTED.

Specified by:
deselect in interface IToggle
Detail description:
The UnableToPerformActionException exception is thrown if this action cannot be performed.
Since:
RFT8.0
See Also:
com.rational.test.ft.script.State}, com.rational.test.ft.script.State#isSelected()}, com.rational.test.ft.script.State#getState()}

indeterminate

public void indeterminate()
Sets the state of the associated object to INDETERMINATE.

Specified by:
indeterminate in interface IToggle
Detail description:
The UnableToPerformActionException exception is thrown if this action cannot be performed.
Since:
RFT8.0
See Also:
com.rational.test.ft.script.State}, com.rational.test.ft.script.State#isSelected()}, com.rational.test.ft.script.State#getState()}