1 Clazz.declarePackage ("java.awt");
2 Clazz.load (["java.awt.PaintContext"], "java.awt.ColorPaintContext", ["java.awt.image.ColorModel"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, java.awt, "ColorPaintContext", null, java.awt.PaintContext);
7 Clazz.makeConstructor (c$,
10 }, "~N,java.awt.image.ColorModel");
11 Clazz.overrideMethod (c$, "dispose",
14 Clazz.defineMethod (c$, "getRGB",
18 Clazz.overrideMethod (c$, "getColorModel",
20 return java.awt.image.ColorModel.getRGBdefault ();