1 Clazz.declarePackage ("jssun.awt.image");
2 c$ = Clazz.decorateAsClass (function () {
5 this.interested = false;
6 this.securityContext = null;
8 Clazz.instantialize (this, arguments);
9 }, jssun.awt.image, "ImageConsumerQueue");
10 c$.removeConsumer = Clazz.defineMethod (c$, "removeConsumer",
11 function (cqbase, ic, stillinterested) {
13 for (var cq = cqbase; cq != null; cq = cq.next) {
14 if (cq.consumer === ic) {
18 cqprev.next = cq.next;
19 }cq.interested = stillinterested;
24 }, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer,~B");
25 c$.isConsumer = Clazz.defineMethod (c$, "isConsumer",
26 function (cqbase, ic) {
27 for (var cq = cqbase; cq != null; cq = cq.next) {
28 if (cq.consumer === ic) {
32 }, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer");
33 Clazz.makeConstructor (c$,
36 this.interested = true;
38 }, "jssun.awt.image.InputStreamImageSource,java.awt.image.ImageConsumer");
39 Clazz.overrideMethod (c$, "toString",
41 return ("[" + this.consumer + ", " + (this.interested ? "" : "not ") + "interested" + (this.securityContext != null ? ", " + this.securityContext : "") + "]");