Package org.jemmy.interfaces

Examples of org.jemmy.interfaces.Mouse$MouseButton


     * Does several single clicks to specified point related to "track".
     * @param clickPoint holds desired click position
     * @param count defines number of clicks
     */
    public void click(Point clickPoint, int count) {
        Mouse mouse = trackNode.as(Mouse.class);

        while (count > 0) {
            mouse.click(1, clickPoint);
            if (--count > 0) {
                SHIFT_CLICK_TIMEOUT.sleep();
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jemmy.interfaces.Mouse$MouseButton

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.