1 Clazz.declarePackage ("MCview");
2 Clazz.load (["java.awt.Color"], "MCview.Atom", ["java.lang.Float"], function () {
3 c$ = Clazz.decorateAsClass (function () {
12 this.resNumIns = null;
16 this.alignmentMapping = -1;
20 this.isSelected = false;
21 Clazz.instantialize (this, arguments);
23 Clazz.prepareFields (c$, function () {
24 this.color = java.awt.Color.lightGray;
26 Clazz.makeConstructor (c$,
28 this.atomIndex = Integer.parseInt (str.substring (6, 11).trim ());
29 this.name = str.substring (12, 15).trim ();
30 this.resName = str.substring (17, 20);
31 this.chain = str.substring (21, 22);
32 this.resNumber = Integer.parseInt (str.substring (22, 26).trim ());
33 this.resNumIns = str.substring (22, 27).trim ();
34 this.insCode = str.substring (26, 27).charAt (0);
35 this.x = ( new Float (str.substring (30, 38).trim ()).floatValue ());
36 this.y = ( new Float (str.substring (38, 46).trim ()).floatValue ());
37 this.z = ( new Float (str.substring (47, 55).trim ()).floatValue ());
38 var tm = str.substring (54, 60).trim ();
40 this.occupancy = ( new Float (tm)).floatValue ();
43 }tm = str.substring (60, 66).trim ();
45 this.tfactor = ( new Float (tm).floatValue ());
49 Clazz.makeConstructor (c$,