IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft.object.interfaces
Interface IToggleGUI

All Superinterfaces:
IToggle
All Known Implementing Classes:
ToggleGUITestObject

public interface IToggleGUI
extends IToggle

Extends the definition of the IToggle interface to include actions that directly use the mouse.

Since:
RFT1.0

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 interface com.rational.test.ft.object.interfaces.IToggle
deselect, getState, indeterminate, select, setState
 

Method Detail

clickToState

public void clickToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
state - the desired target state for the associated component
Since:
RFT1.0

clickToState

public void clickToState(MouseModifiers modifiers,
                         State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the state of the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
modifiers - the mouse modifiers used to attain the desired state
state - the desired target state for the associated component
Since:
RFT1.0

dragToState

public void dragToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
state - the desired target state for the associated component
Since:
RFT1.0

dragToState

public void dragToState(MouseModifiers modifiers,
                        State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
modifiers - the mouse modifiers used to attain the desired state
state - the desired target state for the associated component
Since:
RFT1.0