X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjssun%2Fawt%2Fimage%2FImageConsumerQueue.js;fp=site%2Fj2s%2Fjssun%2Fawt%2Fimage%2FImageConsumerQueue.js;h=0ee679be13f2aba1f6536c44592d3f6f093f5129;hp=99f726f244eb03cbb75a5b8935a3312f2af73e0c;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jssun/awt/image/ImageConsumerQueue.js b/site/j2s/jssun/awt/image/ImageConsumerQueue.js index 99f726f..0ee679b 100644 --- a/site/j2s/jssun/awt/image/ImageConsumerQueue.js +++ b/site/j2s/jssun/awt/image/ImageConsumerQueue.js @@ -1,42 +1,42 @@ -Clazz.declarePackage ("jssun.awt.image"); -c$ = Clazz.decorateAsClass (function () { -this.next = null; -this.consumer = null; -this.interested = false; -this.securityContext = null; -this.secure = false; -Clazz.instantialize (this, arguments); -}, jssun.awt.image, "ImageConsumerQueue"); -c$.removeConsumer = Clazz.defineMethod (c$, "removeConsumer", -function (cqbase, ic, stillinterested) { -var cqprev = null; -for (var cq = cqbase; cq != null; cq = cq.next) { -if (cq.consumer === ic) { -if (cqprev == null) { -cqbase = cq.next; -} else { -cqprev.next = cq.next; -}cq.interested = stillinterested; -break; -}cqprev = cq; -} -return cqbase; -}, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer,~B"); -c$.isConsumer = Clazz.defineMethod (c$, "isConsumer", -function (cqbase, ic) { -for (var cq = cqbase; cq != null; cq = cq.next) { -if (cq.consumer === ic) { -return true; -}} -return false; -}, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer"); -Clazz.makeConstructor (c$, -function (src, ic) { -this.consumer = ic; -this.interested = true; -this.secure = true; -}, "jssun.awt.image.InputStreamImageSource,java.awt.image.ImageConsumer"); -Clazz.overrideMethod (c$, "toString", -function () { -return ("[" + this.consumer + ", " + (this.interested ? "" : "not ") + "interested" + (this.securityContext != null ? ", " + this.securityContext : "") + "]"); -}); +Clazz.declarePackage ("jssun.awt.image"); +c$ = Clazz.decorateAsClass (function () { +this.next = null; +this.consumer = null; +this.interested = false; +this.securityContext = null; +this.secure = false; +Clazz.instantialize (this, arguments); +}, jssun.awt.image, "ImageConsumerQueue"); +c$.removeConsumer = Clazz.defineMethod (c$, "removeConsumer", +function (cqbase, ic, stillinterested) { +var cqprev = null; +for (var cq = cqbase; cq != null; cq = cq.next) { +if (cq.consumer === ic) { +if (cqprev == null) { +cqbase = cq.next; +} else { +cqprev.next = cq.next; +}cq.interested = stillinterested; +break; +}cqprev = cq; +} +return cqbase; +}, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer,~B"); +c$.isConsumer = Clazz.defineMethod (c$, "isConsumer", +function (cqbase, ic) { +for (var cq = cqbase; cq != null; cq = cq.next) { +if (cq.consumer === ic) { +return true; +}} +return false; +}, "jssun.awt.image.ImageConsumerQueue,java.awt.image.ImageConsumer"); +Clazz.makeConstructor (c$, +function (src, ic) { +this.consumer = ic; +this.interested = true; +this.secure = true; +}, "jssun.awt.image.InputStreamImageSource,java.awt.image.ImageConsumer"); +Clazz.overrideMethod (c$, "toString", +function () { +return ("[" + this.consumer + ", " + (this.interested ? "" : "not ") + "interested" + (this.securityContext != null ? ", " + this.securityContext : "") + "]"); +});