1 Clazz.declarePackage ("javax.swing.event");
2 Clazz.load (["java.util.EventObject"], "javax.swing.event.HyperlinkEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
7 this.sourceElement = null;
8 Clazz.instantialize (this, arguments);
9 }, javax.swing.event, "HyperlinkEvent", java.util.EventObject);
10 Clazz.makeConstructor (c$,
11 function (source, type, u) {
12 this.construct (source, type, u, null);
13 }, "~O,javax.swing.event.HyperlinkEvent.EventType,java.net.URL");
14 Clazz.makeConstructor (c$,
15 function (source, type, u, desc) {
16 this.construct (source, type, u, desc, null);
17 }, "~O,javax.swing.event.HyperlinkEvent.EventType,java.net.URL,~S");
18 Clazz.makeConstructor (c$,
19 function (source, type, u, desc, sourceElement) {
20 Clazz.superConstructor (this, javax.swing.event.HyperlinkEvent, [source]);
24 this.sourceElement = sourceElement;
25 }, "~O,javax.swing.event.HyperlinkEvent.EventType,java.net.URL,~S,javax.swing.text.Element");
26 Clazz.defineMethod (c$, "getEventType",
30 Clazz.defineMethod (c$, "getDescription",
34 Clazz.defineMethod (c$, "getURL",
38 Clazz.defineMethod (c$, "getSourceElement",
40 return this.sourceElement;
43 c$ = Clazz.decorateAsClass (function () {
44 this.typeString = null;
45 Clazz.instantialize (this, arguments);
46 }, javax.swing.event.HyperlinkEvent, "EventType");
47 Clazz.makeConstructor (c$,
51 Clazz.overrideMethod (c$, "toString",
53 return this.typeString;
55 c$.ENTERED = c$.prototype.ENTERED = new javax.swing.event.HyperlinkEvent.EventType ("ENTERED");
56 c$.EXITED = c$.prototype.EXITED = new javax.swing.event.HyperlinkEvent.EventType ("EXITED");
57 c$.ACTIVATED = c$.prototype.ACTIVATED = new javax.swing.event.HyperlinkEvent.EventType ("ACTIVATED");