JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / java / text / DontCareFieldPosition.js
1 Clazz.declarePackage ("java.text");\r
2 Clazz.load (["java.text.FieldPosition", "java.text.Format.FieldDelegate"], "java.text.DontCareFieldPosition", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.noDelegate = null;\r
5 Clazz.instantialize (this, arguments);\r
6 }, java.text, "DontCareFieldPosition", java.text.FieldPosition);\r
7 Clazz.prepareFields (c$, function () {\r
8 this.noDelegate = ((Clazz.isClassDefined ("java.text.DontCareFieldPosition$1") ? 0 : java.text.DontCareFieldPosition.$DontCareFieldPosition$1$ ()), Clazz.innerTypeInstance (java.text.DontCareFieldPosition$1, this, null));\r
9 });\r
10 Clazz.makeConstructor (c$, \r
11  function () {\r
12 Clazz.superConstructor (this, java.text.DontCareFieldPosition, [0]);\r
13 });\r
14 Clazz.overrideMethod (c$, "getFieldDelegate", \r
15 function () {\r
16 return this.noDelegate;\r
17 });\r
18 c$.$DontCareFieldPosition$1$ = function () {\r
19 Clazz.pu$h(self.c$);\r
20 c$ = Clazz.declareAnonymous (java.text, "DontCareFieldPosition$1", null, java.text.Format.FieldDelegate);\r
21 Clazz.defineMethod (c$, "formatted", \r
22 function (attr, value, start, end, buffer) {\r
23 }, "java.text.Format.Field,~O,~N,~N,StringBuffer");\r
24 Clazz.defineMethod (c$, "formatted", \r
25 function (fieldID, attr, value, start, end, buffer) {\r
26 }, "~N,java.text.Format.Field,~O,~N,~N,StringBuffer");\r
27 c$ = Clazz.p0p ();\r
28 };\r
29 c$.INSTANCE = c$.prototype.INSTANCE =  new java.text.DontCareFieldPosition ();\r
30 });\r