/* AuScrollTo.java Purpose: Description: History: Fri Jul 28 15:40:08 2006, Created by tomyeh Copyright (C) 2006 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ package org.zkoss.zk.au.out; import org.zkoss.zk.au.AuResponse; /** * A response to ask the client to scroll the desktop (a.k.a., the browser window) * to specified location (in pixel). * * <p>data[0]: x<br/> * data[1]: y * * @author tomyeh * @since 3.0.0 */ public class AuScrollTo extends AuResponse { public AuScrollTo(int x, int y) { super("scrollTo", new Integer[] { new Integer(x), new Integer(y) }); } }