JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / swingjs / j2s / javax / swing / event / UndoableEditEvent.js
1 Clazz.declarePackage ("javax.swing.event");\r
2 Clazz.load (["java.util.EventObject"], "javax.swing.event.UndoableEditEvent", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.myEdit = null;\r
5 Clazz.instantialize (this, arguments);\r
6 }, javax.swing.event, "UndoableEditEvent", java.util.EventObject);\r
7 Clazz.makeConstructor (c$, \r
8 function (source, edit) {\r
9 Clazz.superConstructor (this, javax.swing.event.UndoableEditEvent, [source]);\r
10 this.myEdit = edit;\r
11 }, "~O,javax.swing.undo.UndoableEdit");\r
12 Clazz.defineMethod (c$, "getEdit", \r
13 function () {\r
14 return this.myEdit;\r
15 });\r
16 });\r