| java.lang.Object org.netbeans.jemmy.util.DefaultVisualizer org.netbeans.jemmy.util.MouseVisualizer
MouseVisualizer | public class MouseVisualizer extends DefaultVisualizer (Code) | | Does super.activate(org.netbeans.jemmy.operators.WindowOperator) .
Then, if java version is appropriate (1.3 or later) activates windows by robot mouse click on border.
See Also: org.netbeans.jemmy.operators.Operator.setVisualizer(Operator.ComponentVisualizer) See Also: org.netbeans.jemmy.operators.Operator.ComponentVisualizer See Also:
Timeouts used:
See Also: MouseVisualiser.BeforeClickTimeout - time to let a window manager to move a window as it wants
author: Alexandre Iline (alexandre.iline@sun.com) |
Field Summary | |
public static int | BOTTOM A constant used to inform that window activating click
needs to performed on the botton side of frame. | public static int | LEFT A constant used to inform that window activating click
needs to performed on the left side of frame. | public static int | RIGHT A constant used to inform that window activating click
needs to performed on the right side of frame. | public static int | TOP A constant used to inform that window activating click
needs to performed on the top side of frame. |
Constructor Summary | |
public | MouseVisualizer() Creates a visualizer which clicks on (0, 0) window coords. | public | MouseVisualizer(int place, double pointLocation, int depth, boolean checkMouse) Creates a visualizer which clicks on window boder. |
MouseVisualizer | public MouseVisualizer()(Code) | | Creates a visualizer which clicks on (0, 0) window coords.
|
MouseVisualizer | public MouseVisualizer(int place, double pointLocation, int depth, boolean checkMouse)(Code) | | Creates a visualizer which clicks on window boder.
In case if place == BOTTOM , for example
clicks on (width * pointLocation, height - depth) coordinates.
Parameters: place - One of the predefined value: TOP, BOTTOM, LEFT, RIGHT Parameters: pointLocation - Proportial coordinates to click. Parameters: depth - Distance from the border. Parameters: checkMouse - Check if there is any java component under mouse |
|
|