org.zkoss.zk.au.out.AuScrollBy Maven / Gradle / Ivy
/* AuScrollBy.java
Purpose:
Description:
History:
Fri Jul 28 15:39:34 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)
* relatively (in pixels).
*
* data[0]: x
* data[1]: y
*
* @author tomyeh
* @since 3.0.0
*/
public class AuScrollBy extends AuResponse {
public AuScrollBy(int x, int y) {
super("scrollBy", new Integer[] {new Integer(x), new Integer(y)});
}
}