01: package com.gwtext.client.widgets.event;
02:
03: import com.gwtext.client.widgets.Window;
04:
05: /**
06: * {@link com.gwtext.client.widgets.Window} listener.
07: */
08: public interface WindowListener extends PanelListener {
09:
10: /**
11: * Fires after the window has been visually activated via {@link Window#setActive}.
12: *
13: * @param source this
14: */
15: void onActivate(Window source);
16:
17: /**
18: * Fires after the window has been visually deactivated via {@link Window#setActive(boolean)}
19: *
20: * @param source this
21: */
22: void onDeactivate(Window source);
23:
24: /**
25: * Fires after the window has been maximized.
26: *
27: * @param source this
28: */
29: void onMaximize(Window source);
30:
31: /**
32: * Fires after the window has been minimized.
33: *
34: * @param source this
35: */
36: void onMinimize(Window source);
37:
38: /**
39: * Fires after the window has been resized.
40: *
41: * @param source this
42: * @param width the new width
43: * @param height the new height
44: */
45: void onResize(Window source, int width, int height);
46:
47: /**
48: * Fires after the window has been restored to its original size after being maximized.
49: *
50: * @param source this
51: */
52: void onRestore(Window source);
53: }
|