public class WpfToggleTestObject extends WpfGuiTestObject implements IToggle
TestObject
implementation of the IToggle
interface.ignoreTheObjectState, ref
Constructor and Description |
---|
WpfToggleTestObject(SpyMappedTestObject mappedObject)
For internal use.
|
WpfToggleTestObject(SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
WpfToggleTestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
WpfToggleTestObject(TestObjectReference ref)
For internal use.
|
Modifier and Type | Method and Description |
---|---|
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.
|
click, click, doubleClick, doubleClick, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getScreenPoint, hover, hover, isPointInObject, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint
GetChildrenAtPoint, GetLogicalChildren, GetLogicalParent, GetVisualChildren, GetVisualParent
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
exists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
public WpfToggleTestObject(SpyMappedTestObject mappedObject)
public WpfToggleTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public WpfToggleTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public WpfToggleTestObject(TestObjectReference ref)
public void setState(State state)
public State getState()
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()}