Mercurial > projects > dwt-mac
comparison dwt/events/ExpandEvent.d @ 34:5123b17c98ef
Ported dwt.events.*, dwt.graphics.GC, Region, dwt.internal.image.*
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 14 Sep 2008 01:45:57 +0200 |
parents | 1a8b3cb347e0 |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
33:965ac0a77267 | 34:5123b17c98ef |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2006 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
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 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
10 *******************************************************************************/ | 12 *******************************************************************************/ |
11 module dwt.events.ExpandEvent; | 13 module dwt.events.ExpandEvent; |
12 | 14 |
13 import dwt.dwthelper.utils; | |
14 | |
15 | 15 |
16 import dwt.widgets.Event; | 16 import dwt.widgets.Event; |
17 import dwt.events.SelectionEvent; | |
17 | 18 |
18 /** | 19 /** |
19 * Instances of this class are sent as a result of | 20 * Instances of this class are sent as a result of |
20 * <code>ExpandItem</code>s being expanded or collapsed. | 21 * <code>ExpandItem</code>s being expanded or collapsed. |
21 * | 22 * |
22 * @see ExpandListener | 23 * @see ExpandListener |
23 * | 24 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> |
25 * | |
24 * @since 3.2 | 26 * @since 3.2 |
25 */ | 27 */ |
26 | 28 |
27 public class ExpandEvent : SelectionEvent { | 29 public class ExpandEvent : SelectionEvent { |
28 | 30 |
29 static final long serialVersionUID = 3976735856884987356L; | 31 //static final long serialVersionUID = 3976735856884987356L; |
30 | 32 |
31 /** | 33 /** |
32 * Constructs a new instance of this class based on the | 34 * Constructs a new instance of this class based on the |
33 * information in the given untyped event. | 35 * information in the given untyped event. |
34 * | 36 * |
35 * @param e the untyped event containing the information | 37 * @param e the untyped event containing the information |