1 Clazz.declarePackage ("javax.swing.text");
2 c$ = Clazz.decorateAsClass (function () {
6 Clazz.instantialize (this, arguments);
7 }, javax.swing.text, "TabStop");
8 Clazz.makeConstructor (c$,
10 this.construct (pos, 0, 0);
12 Clazz.makeConstructor (c$,
13 function (pos, align, leader) {
14 this.alignment = align;
18 Clazz.defineMethod (c$, "getPosition",
22 Clazz.defineMethod (c$, "getAlignment",
24 return this.alignment;
26 Clazz.defineMethod (c$, "getLeader",
30 Clazz.overrideMethod (c$, "equals",
34 }if (Clazz.instanceOf (other, javax.swing.text.TabStop)) {
36 return ((this.alignment == o.alignment) && (this.leader == o.leader) && (this.position == o.position));
39 Clazz.overrideMethod (c$, "hashCode",
41 return this.alignment ^ this.leader ^ Math.round (this.position);
43 Clazz.overrideMethod (c$, "toString",
46 switch (this.alignment) {
64 buf = buf + "tab @" + String.valueOf (this.position);
65 if (this.leader != 0) buf = buf + " (w/leaders)";
68 Clazz.defineStatics (c$,