X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fdatamodel%2FStructureViewerModel.js;fp=site%2Fj2s%2Fjalview%2Fdatamodel%2FStructureViewerModel.js;h=628fc2696afa553aa963b23eee65162c3589f3a2;hp=9507aa3a88a84a4e50cfaf5e11fcafe95f038ad0;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jalview/datamodel/StructureViewerModel.js b/site/j2s/jalview/datamodel/StructureViewerModel.js index 9507aa3..628fc26 100644 --- a/site/j2s/jalview/datamodel/StructureViewerModel.js +++ b/site/j2s/jalview/datamodel/StructureViewerModel.js @@ -1,156 +1,156 @@ -Clazz.declarePackage ("jalview.datamodel"); -Clazz.load (["java.util.HashMap"], "jalview.datamodel.StructureViewerModel", ["java.util.ArrayList"], function () { -c$ = Clazz.decorateAsClass (function () { -this.x = 0; -this.y = 0; -this.width = 0; -this.height = 0; -this.alignWithPanel = false; -this.colourWithAlignPanel = false; -this.colourByViewer = false; -this.stateData = ""; -this.viewId = null; -this.type = null; -this.fileData = null; -if (!Clazz.isClassDefined ("jalview.datamodel.StructureViewerModel.StructureData")) { -jalview.datamodel.StructureViewerModel.$StructureViewerModel$StructureData$ (); -} -Clazz.instantialize (this, arguments); -}, jalview.datamodel, "StructureViewerModel"); -Clazz.prepareFields (c$, function () { -this.fileData = new java.util.HashMap (); -}); -Clazz.makeConstructor (c$, -function (x, y, width, height, alignWithPanel, colourWithAlignPanel, colourByViewer, viewId, type) { -this.x = x; -this.y = y; -this.width = width; -this.height = height; -this.alignWithPanel = alignWithPanel; -this.colourWithAlignPanel = colourWithAlignPanel; -this.colourByViewer = colourByViewer; -this.viewId = viewId; -this.type = type; -}, "~N,~N,~N,~N,~B,~B,~B,~S,~S"); -Clazz.defineMethod (c$, "getX", -function () { -return this.x; -}); -Clazz.defineMethod (c$, "setX", -function (x) { -this.x = x; -}, "~N"); -Clazz.defineMethod (c$, "getY", -function () { -return this.y; -}); -Clazz.defineMethod (c$, "setY", -function (y) { -this.y = y; -}, "~N"); -Clazz.defineMethod (c$, "getWidth", -function () { -return this.width; -}); -Clazz.defineMethod (c$, "setWidth", -function (width) { -this.width = width; -}, "~N"); -Clazz.defineMethod (c$, "getHeight", -function () { -return this.height; -}); -Clazz.defineMethod (c$, "setHeight", -function (height) { -this.height = height; -}, "~N"); -Clazz.defineMethod (c$, "isAlignWithPanel", -function () { -return this.alignWithPanel; -}); -Clazz.defineMethod (c$, "setAlignWithPanel", -function (alignWithPanel) { -this.alignWithPanel = alignWithPanel; -}, "~B"); -Clazz.defineMethod (c$, "isColourWithAlignPanel", -function () { -return this.colourWithAlignPanel; -}); -Clazz.defineMethod (c$, "setColourWithAlignPanel", -function (colourWithAlignPanel) { -this.colourWithAlignPanel = colourWithAlignPanel; -}, "~B"); -Clazz.defineMethod (c$, "isColourByViewer", -function () { -return this.colourByViewer; -}); -Clazz.defineMethod (c$, "setColourByViewer", -function (colourByViewer) { -this.colourByViewer = colourByViewer; -}, "~B"); -Clazz.defineMethod (c$, "getStateData", -function () { -return this.stateData; -}); -Clazz.defineMethod (c$, "setStateData", -function (stateData) { -this.stateData = stateData; -}, "~S"); -Clazz.defineMethod (c$, "getFileData", -function () { -return this.fileData; -}); -Clazz.defineMethod (c$, "setFileData", -function (fileData) { -this.fileData = fileData; -}, "java.util.Map"); -Clazz.defineMethod (c$, "getViewId", -function () { -return this.viewId; -}); -Clazz.defineMethod (c$, "getType", -function () { -return this.type; -}); -c$.$StructureViewerModel$StructureData$ = function () { -Clazz.pu$h(self.c$); -c$ = Clazz.decorateAsClass (function () { -Clazz.prepareCallback (this, arguments); -this.filePath = null; -this.pdbId = null; -this.seqList = null; -Clazz.instantialize (this, arguments); -}, jalview.datamodel.StructureViewerModel, "StructureData"); -Clazz.makeConstructor (c$, -function (a, b) { -this.filePath = a; -this.pdbId = b; -this.seqList = new java.util.ArrayList (); -}, "~S,~S"); -Clazz.defineMethod (c$, "getFilePath", -function () { -return this.filePath; -}); -Clazz.defineMethod (c$, "setFilePath", -function (a) { -this.filePath = a; -}, "~S"); -Clazz.defineMethod (c$, "getPdbId", -function () { -return this.pdbId; -}); -Clazz.defineMethod (c$, "setPdbId", -function (a) { -this.pdbId = a; -}, "~S"); -Clazz.defineMethod (c$, "getSeqList", -function () { -return this.seqList; -}); -Clazz.defineMethod (c$, "setSeqList", -function (a) { -this.seqList = a; -}, "java.util.List"); -c$ = Clazz.p0p (); -}; -}); +Clazz.declarePackage ("jalview.datamodel"); +Clazz.load (["java.util.HashMap"], "jalview.datamodel.StructureViewerModel", ["java.util.ArrayList"], function () { +c$ = Clazz.decorateAsClass (function () { +this.x = 0; +this.y = 0; +this.width = 0; +this.height = 0; +this.alignWithPanel = false; +this.colourWithAlignPanel = false; +this.colourByViewer = false; +this.stateData = ""; +this.viewId = null; +this.type = null; +this.fileData = null; +if (!Clazz.isClassDefined ("jalview.datamodel.StructureViewerModel.StructureData")) { +jalview.datamodel.StructureViewerModel.$StructureViewerModel$StructureData$ (); +} +Clazz.instantialize (this, arguments); +}, jalview.datamodel, "StructureViewerModel"); +Clazz.prepareFields (c$, function () { +this.fileData = new java.util.HashMap (); +}); +Clazz.makeConstructor (c$, +function (x, y, width, height, alignWithPanel, colourWithAlignPanel, colourByViewer, viewId, type) { +this.x = x; +this.y = y; +this.width = width; +this.height = height; +this.alignWithPanel = alignWithPanel; +this.colourWithAlignPanel = colourWithAlignPanel; +this.colourByViewer = colourByViewer; +this.viewId = viewId; +this.type = type; +}, "~N,~N,~N,~N,~B,~B,~B,~S,~S"); +Clazz.defineMethod (c$, "getX", +function () { +return this.x; +}); +Clazz.defineMethod (c$, "setX", +function (x) { +this.x = x; +}, "~N"); +Clazz.defineMethod (c$, "getY", +function () { +return this.y; +}); +Clazz.defineMethod (c$, "setY", +function (y) { +this.y = y; +}, "~N"); +Clazz.defineMethod (c$, "getWidth", +function () { +return this.width; +}); +Clazz.defineMethod (c$, "setWidth", +function (width) { +this.width = width; +}, "~N"); +Clazz.defineMethod (c$, "getHeight", +function () { +return this.height; +}); +Clazz.defineMethod (c$, "setHeight", +function (height) { +this.height = height; +}, "~N"); +Clazz.defineMethod (c$, "isAlignWithPanel", +function () { +return this.alignWithPanel; +}); +Clazz.defineMethod (c$, "setAlignWithPanel", +function (alignWithPanel) { +this.alignWithPanel = alignWithPanel; +}, "~B"); +Clazz.defineMethod (c$, "isColourWithAlignPanel", +function () { +return this.colourWithAlignPanel; +}); +Clazz.defineMethod (c$, "setColourWithAlignPanel", +function (colourWithAlignPanel) { +this.colourWithAlignPanel = colourWithAlignPanel; +}, "~B"); +Clazz.defineMethod (c$, "isColourByViewer", +function () { +return this.colourByViewer; +}); +Clazz.defineMethod (c$, "setColourByViewer", +function (colourByViewer) { +this.colourByViewer = colourByViewer; +}, "~B"); +Clazz.defineMethod (c$, "getStateData", +function () { +return this.stateData; +}); +Clazz.defineMethod (c$, "setStateData", +function (stateData) { +this.stateData = stateData; +}, "~S"); +Clazz.defineMethod (c$, "getFileData", +function () { +return this.fileData; +}); +Clazz.defineMethod (c$, "setFileData", +function (fileData) { +this.fileData = fileData; +}, "java.util.Map"); +Clazz.defineMethod (c$, "getViewId", +function () { +return this.viewId; +}); +Clazz.defineMethod (c$, "getType", +function () { +return this.type; +}); +c$.$StructureViewerModel$StructureData$ = function () { +Clazz.pu$h(self.c$); +c$ = Clazz.decorateAsClass (function () { +Clazz.prepareCallback (this, arguments); +this.filePath = null; +this.pdbId = null; +this.seqList = null; +Clazz.instantialize (this, arguments); +}, jalview.datamodel.StructureViewerModel, "StructureData"); +Clazz.makeConstructor (c$, +function (a, b) { +this.filePath = a; +this.pdbId = b; +this.seqList = new java.util.ArrayList (); +}, "~S,~S"); +Clazz.defineMethod (c$, "getFilePath", +function () { +return this.filePath; +}); +Clazz.defineMethod (c$, "setFilePath", +function (a) { +this.filePath = a; +}, "~S"); +Clazz.defineMethod (c$, "getPdbId", +function () { +return this.pdbId; +}); +Clazz.defineMethod (c$, "setPdbId", +function (a) { +this.pdbId = a; +}, "~S"); +Clazz.defineMethod (c$, "getSeqList", +function () { +return this.seqList; +}); +Clazz.defineMethod (c$, "setSeqList", +function (a) { +this.seqList = a; +}, "java.util.List"); +c$ = Clazz.p0p (); +}; +});