01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.event;
14:
15: import org.wings.session.Session;
16:
17: import java.util.EventObject;
18:
19: /**
20: * Event object fired to {@link SExitListener}.
21: *
22: * @author <a href="mailto:armin.haaf@mercatis.de">Armin Haaf</a>
23: */
24: public class SExitEvent extends EventObject {
25:
26: /**
27: * Constructs a exit event.
28: * @param source Session is the source.
29: */
30: public SExitEvent(Session source) {
31: super (source);
32: }
33:
34: public Session getSourceSession() {
35: return (Session) getSource();
36: }
37:
38: }
|