Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / jssun / awt / image / SunVolatileImage.js
index fb6f861..b7a1ac4 100644 (file)
@@ -1,63 +1,63 @@
-Clazz.declarePackage ("jssun.awt.image");\r
-Clazz.load (["java.awt.image.VolatileImage"], "jssun.awt.image.SunVolatileImage", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.graphicsConfig = null;\r
-this.width = 0;\r
-this.height = 0;\r
-this.caps = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.awt.image, "SunVolatileImage", java.awt.image.VolatileImage);\r
-Clazz.makeConstructor (c$, \r
-function (graphicsConfig, width, height, transparency, caps) {\r
-Clazz.superConstructor (this, jssun.awt.image.SunVolatileImage, []);\r
-this.graphicsConfig = graphicsConfig;\r
-this.width = width;\r
-this.height = height;\r
-this.transparency = transparency;\r
-this.caps = caps;\r
-}, "java.awt.GraphicsConfiguration,~N,~N,~N,java.awt.ImageCapabilities");\r
-Clazz.defineMethod (c$, "getWidth", \r
-function () {\r
-return this.width;\r
-});\r
-Clazz.defineMethod (c$, "getHeight", \r
-function () {\r
-return this.height;\r
-});\r
-Clazz.defineMethod (c$, "getGraphicsConfig", \r
-function () {\r
-return this.graphicsConfig;\r
-});\r
-Clazz.overrideMethod (c$, "getSnapshot", \r
-function () {\r
-return null;\r
-});\r
-Clazz.overrideMethod (c$, "createGraphics", \r
-function () {\r
-return null;\r
-});\r
-Clazz.overrideMethod (c$, "validate", \r
-function (gc) {\r
-return 0;\r
-}, "java.awt.GraphicsConfiguration");\r
-Clazz.overrideMethod (c$, "contentsLost", \r
-function () {\r
-return false;\r
-});\r
-Clazz.overrideMethod (c$, "getCapabilities", \r
-function () {\r
-return this.caps;\r
-});\r
-Clazz.defineMethod (c$, "getWidth", \r
-function (observer) {\r
-return 0;\r
-}, "java.awt.image.ImageObserver");\r
-Clazz.defineMethod (c$, "getHeight", \r
-function (observer) {\r
-return 0;\r
-}, "java.awt.image.ImageObserver");\r
-Clazz.overrideMethod (c$, "getProperty", \r
-function (name, observer) {\r
-return null;\r
-}, "~S,java.awt.image.ImageObserver");\r
-});\r
+Clazz.declarePackage ("jssun.awt.image");
+Clazz.load (["java.awt.image.VolatileImage"], "jssun.awt.image.SunVolatileImage", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.graphicsConfig = null;
+this.width = 0;
+this.height = 0;
+this.caps = null;
+Clazz.instantialize (this, arguments);
+}, jssun.awt.image, "SunVolatileImage", java.awt.image.VolatileImage);
+Clazz.makeConstructor (c$, 
+function (graphicsConfig, width, height, transparency, caps) {
+Clazz.superConstructor (this, jssun.awt.image.SunVolatileImage, []);
+this.graphicsConfig = graphicsConfig;
+this.width = width;
+this.height = height;
+this.transparency = transparency;
+this.caps = caps;
+}, "java.awt.GraphicsConfiguration,~N,~N,~N,java.awt.ImageCapabilities");
+Clazz.defineMethod (c$, "getWidth", 
+function () {
+return this.width;
+});
+Clazz.defineMethod (c$, "getHeight", 
+function () {
+return this.height;
+});
+Clazz.defineMethod (c$, "getGraphicsConfig", 
+function () {
+return this.graphicsConfig;
+});
+Clazz.overrideMethod (c$, "getSnapshot", 
+function () {
+return null;
+});
+Clazz.overrideMethod (c$, "createGraphics", 
+function () {
+return null;
+});
+Clazz.overrideMethod (c$, "validate", 
+function (gc) {
+return 0;
+}, "java.awt.GraphicsConfiguration");
+Clazz.overrideMethod (c$, "contentsLost", 
+function () {
+return false;
+});
+Clazz.overrideMethod (c$, "getCapabilities", 
+function () {
+return this.caps;
+});
+Clazz.defineMethod (c$, "getWidth", 
+function (observer) {
+return 0;
+}, "java.awt.image.ImageObserver");
+Clazz.defineMethod (c$, "getHeight", 
+function (observer) {
+return 0;
+}, "java.awt.image.ImageObserver");
+Clazz.overrideMethod (c$, "getProperty", 
+function (name, observer) {
+return null;
+}, "~S,java.awt.image.ImageObserver");
+});