01: package org.cougaar.core.qos.frame.visualizer.event;
02:
03: import javax.swing.event.ChangeEvent;
04:
05: import org.cougaar.core.qos.frame.visualizer.ShapeContainer;
06: import org.cougaar.core.qos.frame.visualizer.ShapeGraphic;
07:
08: /**
09: * Created by IntelliJ IDEA.
10: * User: mwalczak
11: * Date: May 14, 2005
12: * Time: 2:36:33 PM
13: * To change this template use File | Settings | File Templates.
14: */
15:
16: public class ContainerChildAddedEvent extends ChangeEvent {
17: ShapeContainer container;
18: ShapeGraphic newChild;
19:
20: public ContainerChildAddedEvent(Object source,
21: ShapeContainer container, ShapeGraphic newchild) {
22: super (source);
23: this .container = container;
24: this .newChild = newchild;
25: }
26:
27: public ShapeContainer getContainer() {
28: return container;
29: }
30:
31: public ShapeGraphic getChild() {
32: return newChild;
33: }
34: }
|