1 Clazz.declarePackage ("javax.swing.event");
2 Clazz.load (["java.awt.AWTEvent"], "javax.swing.event.AncestorEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
5 this.ancestorParent = null;
6 Clazz.instantialize (this, arguments);
7 }, javax.swing.event, "AncestorEvent", java.awt.AWTEvent);
8 Clazz.makeConstructor (c$,
9 function (source, id, ancestor, ancestorParent) {
10 Clazz.superConstructor (this, javax.swing.event.AncestorEvent, [source, id]);
11 this.ancestor = ancestor;
12 this.ancestorParent = ancestorParent;
13 }, "javax.swing.JComponent,~N,java.awt.Container,java.awt.Container");
14 Clazz.defineMethod (c$, "getAncestor",
18 Clazz.defineMethod (c$, "getAncestorParent",
20 return this.ancestorParent;
22 Clazz.defineMethod (c$, "getComponent",
24 return this.getSource ();
26 Clazz.defineStatics (c$,
28 "ANCESTOR_REMOVED", 2,