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