01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.framework.event;
08:
09: import java.util.EventObject;
10:
11: import org.jfox.framework.ComponentId;
12:
13: /**
14: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
15: */
16: public class ComponentEvent extends EventObject {
17:
18: public ComponentEvent(ComponentId id) {
19: super (id);
20: }
21:
22: public ComponentId getComponentId() {
23: return (ComponentId) getSource();
24: }
25:
26: public static void main(String[] args) {
27:
28: }
29: }
|