01: package org.wings.portlet;
02:
03: import java.util.EventObject;
04:
05: /**
06: * Event for window state changes, includes the new window state
07: *
08: * @author Marc Musch
09: *
10: */
11: public class WindowStateEvent extends EventObject {
12:
13: private String windowState;
14:
15: /**
16: * @param source - the source of the event
17: * @param windowState - the new window state
18: */
19: public WindowStateEvent(Object source, String windowState) {
20: super (source);
21: this .windowState = windowState;
22:
23: }
24:
25: /**
26: * Returns the new window state
27: *
28: * @return the new window state
29: */
30: public String getWindowState() {
31: return windowState;
32: }
33:
34: }
|