comparison dwt/internal/DWTEventObject.d @ 13:f565d3a95c0a

Ported dwt.internal
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 22 Aug 2008 16:46:34 +0200
parents 380af2bdd8e5
children d8635bb48c7c
comparison
equal deleted inserted replaced
12:34bfdb096054 13:f565d3a95c0a
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
8 * Contributors: 8 * Contributors:
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * 10 *
11 * Port to the D Programming language: 11 * Port to the D programming language:
12 * Jacob Carlborg <jacob.carlborg@gmail.com> 12 * Jacob Carlborg <jacob.carlborg@gmail.com>
13 *******************************************************************************/ 13 *******************************************************************************/
14 module dwt.internal.DWTEventObject; 14 module dwt.internal.DWTEventObject;
15 15
16 import dwt.dwthelper.utils; 16 import dwt.dwthelper.utils;
17 17
18 import java.util.EventObject;
19
20 /** 18 /**
21 * This class is the cross-platform version of the 19 * This class is the cross-platform version of the
22 * java.util.EventObject class. 20 * java.util.EventObject class.
23 * <p> 21 * <p>
24 * It is part of our effort to provide support for both J2SE 22 * It is part of our effort to provide support for both J2SE
25 * and J2ME platforms. Under this scheme, classes need to 23 * and J2ME platforms. Under this scheme, classes need to
26 * extend DWTEventObject instead of java.util.EventObject. 24 * extend DWTEventObject instead of java.util.EventObject.
27 * </p> 25 * </p>
28 * <p> 26 * <p>
29 * Note: java.util.EventObject is not part of CDC and CLDC. 27 * Note: java.util.EventObject is not part of CDC and CLDC.
30 * </p> 28 * </p>
31 */ 29 */
32 public class DWTEventObject : EventObject 30 public class DWTEventObject : EventObject {
33 {
34 31
35 static const long serialVersionUID = 3258125873411470903L; 32 static const long serialVersionUID = 3258125873411470903L;
36 33
37 /** 34 /**
38 * Constructs a new instance of this class. 35 * Constructs a new instance of this class.
39 * 36 *
40 * @param source the object which fired the event 37 * @param source the object which fired the event
41 */ 38 */
42 public this (Object source) 39 public this(Object source) {
43 { 40 super(source);
44 super(source);
45 }
46 } 41 }
42 }