1 Clazz.declarePackage ("jalview.structure");
2 c$ = Clazz.decorateAsClass (function () {
7 Clazz.instantialize (this, arguments);
8 }, jalview.structure, "AtomSpec");
9 Clazz.makeConstructor (c$,
10 function (pdbFile, chain, resNo, atomNo) {
11 this.pdbFile = pdbFile;
13 this.pdbResNum = resNo;
14 this.atomIndex = atomNo;
16 Clazz.defineMethod (c$, "getPdbFile",
20 Clazz.defineMethod (c$, "getChain",
24 Clazz.defineMethod (c$, "getPdbResNum",
26 return this.pdbResNum;
28 Clazz.defineMethod (c$, "getAtomIndex",
30 return this.atomIndex;
32 Clazz.overrideMethod (c$, "toString",
34 return "pdbFile: " + this.pdbFile + ", chain: " + this.chain + ", res: " + this.pdbResNum + ", atom: " + this.atomIndex;