X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjavax%2Fswing%2Fevent%2FAncestorEvent.js;fp=site%2Fj2s%2Fjavax%2Fswing%2Fevent%2FAncestorEvent.js;h=39d5cf4a76df08bf72d29199eb512ef9b23f7987;hp=30e9bcd1970c38d7b6b3052c5262e662e2de70c8;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/javax/swing/event/AncestorEvent.js b/site/j2s/javax/swing/event/AncestorEvent.js index 30e9bcd..39d5cf4 100644 --- a/site/j2s/javax/swing/event/AncestorEvent.js +++ b/site/j2s/javax/swing/event/AncestorEvent.js @@ -1,30 +1,30 @@ -Clazz.declarePackage ("javax.swing.event"); -Clazz.load (["java.awt.AWTEvent"], "javax.swing.event.AncestorEvent", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.ancestor = null; -this.ancestorParent = null; -Clazz.instantialize (this, arguments); -}, javax.swing.event, "AncestorEvent", java.awt.AWTEvent); -Clazz.makeConstructor (c$, -function (source, id, ancestor, ancestorParent) { -Clazz.superConstructor (this, javax.swing.event.AncestorEvent, [source, id]); -this.ancestor = ancestor; -this.ancestorParent = ancestorParent; -}, "javax.swing.JComponent,~N,java.awt.Container,java.awt.Container"); -Clazz.defineMethod (c$, "getAncestor", -function () { -return this.ancestor; -}); -Clazz.defineMethod (c$, "getAncestorParent", -function () { -return this.ancestorParent; -}); -Clazz.defineMethod (c$, "getComponent", -function () { -return this.getSource (); -}); -Clazz.defineStatics (c$, -"ANCESTOR_ADDED", 1, -"ANCESTOR_REMOVED", 2, -"ANCESTOR_MOVED", 3); -}); +Clazz.declarePackage ("javax.swing.event"); +Clazz.load (["java.awt.AWTEvent"], "javax.swing.event.AncestorEvent", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.ancestor = null; +this.ancestorParent = null; +Clazz.instantialize (this, arguments); +}, javax.swing.event, "AncestorEvent", java.awt.AWTEvent); +Clazz.makeConstructor (c$, +function (source, id, ancestor, ancestorParent) { +Clazz.superConstructor (this, javax.swing.event.AncestorEvent, [source, id]); +this.ancestor = ancestor; +this.ancestorParent = ancestorParent; +}, "javax.swing.JComponent,~N,java.awt.Container,java.awt.Container"); +Clazz.defineMethod (c$, "getAncestor", +function () { +return this.ancestor; +}); +Clazz.defineMethod (c$, "getAncestorParent", +function () { +return this.ancestorParent; +}); +Clazz.defineMethod (c$, "getComponent", +function () { +return this.getSource (); +}); +Clazz.defineStatics (c$, +"ANCESTOR_ADDED", 1, +"ANCESTOR_REMOVED", 2, +"ANCESTOR_MOVED", 3); +});