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