IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

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

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
                          extended by com.rational.test.ft.object.interfaces.WPF.WpfToggleGUITestObject
All Implemented Interfaces:
IGraphical, IToggle, IToggleGUI, IWpfGraphical

public class WpfToggleGUITestObject
extends WpfToggleTestObject
implements IToggleGUI


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ignoreTheObjectState, ref
 
Constructor Summary
WpfToggleGUITestObject(SpyMappedTestObject mappedObject)
          For internal use.
WpfToggleGUITestObject(SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
WpfToggleGUITestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
 
Method Summary
 void clickToState(MouseModifiers modifiers, State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void clickToState(State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void dragToState(MouseModifiers modifiers, State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void dragToState(State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfToggleTestObject
deselect, getState, indeterminate, select, setState
 
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, getIWindow, getRole, 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, getProperty, getTestDataTypes, 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, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, 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.IToggle
deselect, getState, indeterminate, select, setState
 
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

WpfToggleGUITestObject

public WpfToggleGUITestObject(SpyMappedTestObject mappedObject)
For internal use.

Since:
RFT8.0

WpfToggleGUITestObject

public WpfToggleGUITestObject(SpyMappedTestObject mappedObject,
                              TestObject anchor)
For internal use.

Since:
RFT8.0

WpfToggleGUITestObject

public WpfToggleGUITestObject(SpyMappedTestObject mappedObject,
                              TestObject anchor,
                              long scriptCommandFlags)
For internal use.

Since:
RFT8.0
Method Detail

clickToState

public void clickToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component.

Specified by:
clickToState in interface IToggleGUI
Parameters:
state - - the desired target state for the associated component
Detail description:
If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events to ensure that the state is reset appropriately.
Since:
RFT8.0
See Also:
com.rational.test.ft.object.interfaces.IToggleGUI#clickToState(State)}, com.rational.test.ft.script.State}

clickToState

public void clickToState(MouseModifiers modifiers,
                         State state)
Performs the necessary mouse actions to attain the desired state for the associated component.

Specified by:
clickToState in interface IToggleGUI
Parameters:
modifiers - - the MouseModifiers for attaining the desired state
state - - the target state for the associated component
Detail description:
If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events to ensure that the state is reset appropriately.
Since:
RFT8.0
See Also:
com.rational.test.ft.object.interfaces.IToggleGUI#clickToState(MouseModifiers, State)}, com.rational.test.ft.script.MouseModifiers}, com.rational.test.ft.script.State}

dragToState

public void dragToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component.

Specified by:
dragToState in interface IToggleGUI
Parameters:
state - the target state for the associated component
Detail description:
If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events to ensure that the state is reset appropriately.
Since:
RFT8.0
See Also:
com.rational.test.ft.object.interfaces.IToggleGUI#dragToState(State)}, com.rational.test.ft.script.State}

dragToState

public void dragToState(MouseModifiers modifiers,
                        State state)
Performs the necessary mouse actions to attain the desired state for the associated component.

Specified by:
dragToState in interface IToggleGUI
Parameters:
modifiers - - the mouse modifiers to be used to attain the desired state
state - - the target state for the associated component
Detail description:
If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events to ensure that the state is reset appropriately.
Since:
RFT8.0
See Also:
com.rational.test.ft.object.interfaces.IToggleGUI#dragToState(MouseModifiers, State)}, com.rational.test.ft.script.State}, com.rational.test.ft.script.MouseModifiers}