| java.lang.Object org.netbeans.modules.visualweb.gravy.DNDDriver
DNDDriver | public class DNDDriver (Code) | | This class allows tester to imitate "drag-and-drop" action (the appropriate
sequence of events), as if a mouse is being used in an automated test by hand.
|
Method Summary | |
public void | dnd(ComponentOperator source, Point from, ComponentOperator target, Point to, int button, int modifiers) Performs "drag-and-drop" action. | public void | dnd(ComponentOperator source, Point from, ComponentOperator target, Point to) Performs "drag-and-drop" action. | public void | dnd(ComponentOperator source, ComponentOperator target) Performs "drag-and-drop" action. |
beforeDragSleepafterDragSleep | Timeout beforeDragSleepafterDragSleep(Code) | | |
mDriver | MouseRobotDriver mDriver(Code) | | |
DNDDriver | public DNDDriver()(Code) | | Creates a new instance of DNDDriver
|
dnd | public void dnd(ComponentOperator source, Point from, ComponentOperator target, Point to, int button, int modifiers)(Code) | | Performs "drag-and-drop" action.
Parameters: source - an component, which should be moved Parameters: from - a point inside the source component, where mouse cursor should be placed Parameters: target - an component, on which the source component should be dropped Parameters: to - a point inside the target component, where mouse cursor should be placed finally Parameters: button - defines, which mouse button should be used (left, right,...) Parameters: modifiers - defines, which additional keyboard keys (Ctrl, Alt,...) should be used |
dnd | public void dnd(ComponentOperator source, Point from, ComponentOperator target, Point to)(Code) | | Performs "drag-and-drop" action.
Parameters: source - an component, which should be moved Parameters: from - a point inside the source component, where mouse cursor should be placed Parameters: target - an component, on which the source component should be dropped Parameters: to - a point inside the target component, where mouse cursor should be placed finally |
dnd | public void dnd(ComponentOperator source, ComponentOperator target)(Code) | | Performs "drag-and-drop" action.
Parameters: source - an component, which should be moved Parameters: target - an component, on which the source component should be dropped |
|
|