1 Clazz.declarePackage ("jssun.awt.image");
2 Clazz.load (["java.awt.image.VolatileImage"], "jssun.awt.image.SunVolatileImage", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.graphicsConfig = null;
8 Clazz.instantialize (this, arguments);
9 }, jssun.awt.image, "SunVolatileImage", java.awt.image.VolatileImage);
10 Clazz.makeConstructor (c$,
11 function (graphicsConfig, width, height, transparency, caps) {
12 Clazz.superConstructor (this, jssun.awt.image.SunVolatileImage, []);
13 this.graphicsConfig = graphicsConfig;
16 this.transparency = transparency;
18 }, "java.awt.GraphicsConfiguration,~N,~N,~N,java.awt.ImageCapabilities");
19 Clazz.defineMethod (c$, "getWidth",
23 Clazz.defineMethod (c$, "getHeight",
27 Clazz.defineMethod (c$, "getGraphicsConfig",
29 return this.graphicsConfig;
31 Clazz.overrideMethod (c$, "getSnapshot",
35 Clazz.overrideMethod (c$, "createGraphics",
39 Clazz.overrideMethod (c$, "validate",
42 }, "java.awt.GraphicsConfiguration");
43 Clazz.overrideMethod (c$, "contentsLost",
47 Clazz.overrideMethod (c$, "getCapabilities",
51 Clazz.defineMethod (c$, "getWidth",
54 }, "java.awt.image.ImageObserver");
55 Clazz.defineMethod (c$, "getHeight",
58 }, "java.awt.image.ImageObserver");
59 Clazz.overrideMethod (c$, "getProperty",
60 function (name, observer) {
62 }, "~S,java.awt.image.ImageObserver");