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