9e690c9ec0f591b35a29ab848cd6583fd1fdd721
[jalviewjs.git] / site / j2s / jssun / awt / PeerEvent.js
1 Clazz.declarePackage ("jssun.awt");
2 Clazz.load (["java.awt.event.InvocationEvent"], "jssun.awt.PeerEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.flags = 0;
5 Clazz.instantialize (this, arguments);
6 }, jssun.awt, "PeerEvent", java.awt.event.InvocationEvent);
7 Clazz.makeConstructor (c$, 
8 function (source, runnable, flags) {
9 this.construct (source, runnable, null, false, flags);
10 }, "~O,Runnable,~N");
11 Clazz.makeConstructor (c$, 
12 function (source, runnable, notifier, catchExceptions, flags) {
13 Clazz.superConstructor (this, jssun.awt.PeerEvent, [source, runnable, notifier, catchExceptions]);
14 this.flags = flags;
15 }, "~O,Runnable,~O,~B,~N");
16 Clazz.defineMethod (c$, "getFlags", 
17 function () {
18 return this.flags;
19 });
20 Clazz.defineMethod (c$, "coalesceEvents", 
21 function (newEvent) {
22 return null;
23 }, "jssun.awt.PeerEvent");
24 Clazz.defineStatics (c$,
25 "PRIORITY_EVENT", 0x01,
26 "ULTIMATE_PRIORITY_EVENT", 0x02,
27 "LOW_PRIORITY_EVENT", 0x04);
28 });