Mercurial > projects > dwt-mac
comparison dwt/internal/DWTEventObject.d @ 0:380af2bdd8e5
Upload of whole dwt tree
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sat, 09 Aug 2008 17:00:02 +0200 |
parents | |
children | f565d3a95c0a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:380af2bdd8e5 |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2004 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * | |
11 * Port to the D Programming language: | |
12 * Jacob Carlborg <jacob.carlborg@gmail.com> | |
13 *******************************************************************************/ | |
14 module dwt.internal.DWTEventObject; | |
15 | |
16 import dwt.dwthelper.utils; | |
17 | |
18 import java.util.EventObject; | |
19 | |
20 /** | |
21 * This class is the cross-platform version of the | |
22 * java.util.EventObject class. | |
23 * <p> | |
24 * It is part of our effort to provide support for both J2SE | |
25 * and J2ME platforms. Under this scheme, classes need to | |
26 * extend DWTEventObject instead of java.util.EventObject. | |
27 * </p> | |
28 * <p> | |
29 * Note: java.util.EventObject is not part of CDC and CLDC. | |
30 * </p> | |
31 */ | |
32 public class DWTEventObject : EventObject | |
33 { | |
34 | |
35 static const long serialVersionUID = 3258125873411470903L; | |
36 | |
37 /** | |
38 * Constructs a new instance of this class. | |
39 * | |
40 * @param source the object which fired the event | |
41 */ | |
42 public this (Object source) | |
43 { | |
44 super(source); | |
45 } | |
46 } |