01: /* AuMoveTo.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Fri Jul 28 16:12:26 2006, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2006 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zk.au.out;
20:
21: import org.zkoss.zk.au.AuResponse;
22:
23: /**
24: * A response to ask the client to move the desktop (aka., the browser window)
25: * to specified location (in pixel).
26: *
27: * <p>data[0]: x<br/>
28: * data[1]: y
29: *
30: * @author tomyeh
31: * @since 3.0.0
32: */
33: public class AuMoveTo extends AuResponse {
34: public AuMoveTo(int x, int y) {
35: super ("moveTo", new String[] { Integer.toString(x),
36: Integer.toString(y) });
37: }
38: }
|