UNPKG

biojs-vis-pdbviewer

Version:

A BioJS 2.0 component to view protein structures

44 lines (43 loc) 1.25 kB
Clazz.declarePackage ("JSV.js2d"); c$ = Clazz.declareType (JSV.js2d, "Display"); c$.getFullScreenDimensions = Clazz.defineMethod (c$, "getFullScreenDimensions", function (canvas, widthHeight) { { widthHeight[0] = canvas.width; widthHeight[1] = canvas.height; }}, "~O,~A"); c$.hasFocus = Clazz.defineMethod (c$, "hasFocus", function (canvas) { { }return true; }, "~O"); c$.requestFocusInWindow = Clazz.defineMethod (c$, "requestFocusInWindow", function (canvas) { { }}, "~O"); c$.repaint = Clazz.defineMethod (c$, "repaint", function (canvas) { }, "~O"); c$.renderScreenImage = Clazz.defineMethod (c$, "renderScreenImage", function (viewer, g, size) { { }}, "javajs.api.PlatformViewer,~O,~O"); c$.setTransparentCursor = Clazz.defineMethod (c$, "setTransparentCursor", function (canvas) { { }}, "~O"); c$.setCursor = Clazz.defineMethod (c$, "setCursor", function (c, canvas) { { }}, "~N,~O"); c$.prompt = Clazz.defineMethod (c$, "prompt", function (label, data, list, asButtons) { { var s = prompt(label, data); if (s != null)return s; }return "null"; }, "~S,~S,~A,~B"); c$.convertPointFromScreen = Clazz.defineMethod (c$, "convertPointFromScreen", function (canvas, ptTemp) { { }}, "~O,JU.P3");