Package org.jemmy.input

Examples of org.jemmy.input.ScrollerImpl


     * @param env
     * @param control
     */
    public SwingScroll(Environment env, T control) {
        super(env, control);
        scroller = new ScrollerImpl(this, this) {

            @Override
            protected Point getScrollClickPoint(boolean increase) {
                return ScrollerImpl.createScrollPoint(SwingScroll.this, getControl().getOrientation() == JScrollBar.HORIZONTAL, increase, 5);
            }
View Full Code Here


    public double value() {
        return position();
    }

    public Scroller scroller() {
        return new ScrollerImpl(this, this) {

            @Override
            protected Point getScrollClickPoint(boolean increase) {
                return ScrollerImpl.createScrollPoint(SwingScroll.this,
                        ((JScrollBar)getControl()).getOrientation() == JScrollBar.HORIZONTAL,
View Full Code Here

TOP

Related Classes of org.jemmy.input.ScrollerImpl

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.