JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / javax / swing / text / BadLocationException.js
1 Clazz.declarePackage ("javax.swing.text");\r
2 Clazz.load (["java.lang.Exception"], "javax.swing.text.BadLocationException", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.offs = 0;\r
5 Clazz.instantialize (this, arguments);\r
6 }, javax.swing.text, "BadLocationException", Exception);\r
7 Clazz.makeConstructor (c$, \r
8 function (s, offs) {\r
9 Clazz.superConstructor (this, javax.swing.text.BadLocationException, [s]);\r
10 this.offs = offs;\r
11 }, "~S,~N");\r
12 Clazz.defineMethod (c$, "offsetRequested", \r
13 function () {\r
14 return this.offs;\r
15 });\r
16 });\r