|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.object.interfaces.TestObject com.rational.test.ft.object.interfaces.ClientTestObject com.rational.test.ft.object.interfaces.GuiTestObject com.rational.test.ft.object.interfaces.WPF.WpfVisualTestObject com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject com.rational.test.ft.object.interfaces.WPF.WpfToggleTestObject
public class WpfToggleTestObject
Serves as the base TestObject
implementation of the IToggle
interface.
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 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 |
---|
public WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public WpfToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
public WpfToggleTestObject(TestObject obj)
WpfToggleTestObject
from another TestObject
. Both are references to the same object.
Method Detail |
---|
public void setState(State state)
setState
in interface IToggle
state
- - State - the state to be setcom.rational.test.ft.script.State}
,
com.rational.test.ft.object.interfaces.IToggle#setState(State)}
public State getState()
getState
in interface IToggle
com.rational.test.ft.script.State}
public void select()
STATE_SELECTED
.
select
in interface IToggle
UnableToPerformActionException
exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State}
,
com.rational.test.ft.script.State#isSelected()}
,
com.rational.test.ft.script.State#getState()}
public void deselect()
NOT_SELECTED
.
deselect
in interface IToggle
UnableToPerformActionException
exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State}
,
com.rational.test.ft.script.State#isSelected()}
,
com.rational.test.ft.script.State#getState()}
public void indeterminate()
INDETERMINATE
.
indeterminate
in interface IToggle
UnableToPerformActionException
exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State}
,
com.rational.test.ft.script.State#isSelected()}
,
com.rational.test.ft.script.State#getState()}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |