4911253f24f8a626973ac4813654c9b7ceca1bbf
[jalviewjs.git] / site / j2s / java / text / Annotation.js
1 Clazz.declarePackage ("java.text");\r
2 c$ = Clazz.decorateAsClass (function () {\r
3 this.value = null;\r
4 Clazz.instantialize (this, arguments);\r
5 }, java.text, "Annotation");\r
6 Clazz.makeConstructor (c$, \r
7 function (value) {\r
8 this.value = value;\r
9 }, "~O");\r
10 Clazz.defineMethod (c$, "getValue", \r
11 function () {\r
12 return this.value;\r
13 });\r
14 Clazz.overrideMethod (c$, "toString", \r
15 function () {\r
16 return this.getClass ().getName () + "[value=" + this.value + "]";\r
17 });\r