コード例 #1
0
 /*     */ public Event dispatchEvent(Event paramEvent) /*     */ {
   /*  79 */ if (this.activeCount == 0) {
     /*  80 */ return paramEvent;
     /*     */ }
   /*     */
   /*  84 */ int i = this.headIndex;
   /*  85 */ int j = this.tailIndex;
   /*  86 */ int k = this.activeCount;
   /*  87 */ int m = this.reservedCount;
   /*     */
   /*  89 */ EventDispatcher localEventDispatcher = this.dispatchers[this.headIndex];
   /*  90 */ this.headIndex = this.nextLinks[this.headIndex];
   /*  91 */ this.activeCount -= 1;
   /*  92 */ Event localEvent = localEventDispatcher.dispatchEvent(paramEvent, this);
   /*     */
   /*  96 */ this.headIndex = i;
   /*  97 */ this.tailIndex = j;
   /*  98 */ this.activeCount = k;
   /*  99 */ this.reservedCount = m;
   /*     */
   /* 101 */ return localEvent;
   /*     */ }
コード例 #2
-1
 @Override
 public Event dispatchEvent(Event event, EventDispatchChain tail) {
   if (event instanceof ScrollEvent) {
     event.consume();
     return null;
   } else {
     return originalDispatcher.dispatchEvent(event, tail);
   }
 }