public class ToggleGUITestObject extends ToggleTestObject implements IToggleGUI
IToggle
interface
to include actions that directly use the mouse.ignoreTheObjectState, ref
Constructor and Description |
---|
ToggleGUITestObject(SpyMappedTestObject mappedObject)
For internal use.
|
ToggleGUITestObject(SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
ToggleGUITestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
ToggleGUITestObject(TestObjectReference ref)
For internal use.
|
Modifier and Type | Method and Description |
---|---|
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.
|
deselect, getState, indeterminate, select, setState
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
public ToggleGUITestObject(SpyMappedTestObject mappedObject)
public ToggleGUITestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public ToggleGUITestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public ToggleGUITestObject(TestObjectReference ref)
public void clickToState(State state)
clickToState
in interface IToggleGUI
state
- the desired target state for the associated
componentpublic void clickToState(MouseModifiers modifiers, State state)
clickToState
in interface IToggleGUI
modifiers
- the mouse modifiers for attaining the
desired statestate
- the target state for the associated
componentpublic void dragToState(State state)
dragToState
in interface IToggleGUI
state
- the target state for the associated
componentpublic void dragToState(MouseModifiers modifiers, State state)
dragToState
in interface IToggleGUI
modifiers
- the mouse modifiers to be used to attain the
desired statestate
- the target state for the associated
component