b0334df4ae5c36a5880b3c3e00f624b0716f0240
[jalviewjs.git] / site / j2s / javax / swing / text / Position.js
1 Clazz.declarePackage ("javax.swing.text");
2 Clazz.declareInterface (javax.swing.text, "Position");
3 Clazz.pu$h(self.c$);
4 c$ = Clazz.decorateAsClass (function () {
5 this.name = null;
6 Clazz.instantialize (this, arguments);
7 }, javax.swing.text.Position, "Bias");
8 Clazz.overrideMethod (c$, "toString", 
9 function () {
10 return this.name;
11 });
12 Clazz.makeConstructor (c$, 
13  function (a) {
14 this.name = a;
15 }, "~S");
16 c$.Forward = c$.prototype.Forward =  new javax.swing.text.Position.Bias ("Forward");
17 c$.Backward = c$.prototype.Backward =  new javax.swing.text.Position.Bias ("Backward");
18 c$ = Clazz.p0p ();