comparison dwt/events/ControlAdapter.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 ab8b5765e3d1
children d8635bb48c7c
comparison
equal deleted inserted replaced
33:965ac0a77267 34:5123b17c98ef
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 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.ControlAdapter; 13 module dwt.events.ControlAdapter;
12 14
13 import dwt.dwthelper.utils; 15 import dwt.events.ControlListener;
14
15
16 /** 16 /**
17 * This adapter class provides default implementations for the 17 * This adapter class provides default implementations for the
18 * methods described by the <code>ControlListener</code> interface. 18 * methods described by the <code>ControlListener</code> interface.
19 * <p> 19 * <p>
20 * Classes that wish to deal with <code>ControlEvent</code>s can 20 * Classes that wish to deal with <code>ControlEvent</code>s can
22 * interested in. 22 * interested in.
23 * </p> 23 * </p>
24 * 24 *
25 * @see ControlListener 25 * @see ControlListener
26 * @see ControlEvent 26 * @see ControlEvent
27 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
27 */ 28 */
28 public abstract class ControlAdapter : ControlListener { 29 public abstract class ControlAdapter : ControlListener {
29 30
30 /** 31 /**
31 * Sent when the location (x, y) of a control changes relative 32 * Sent when the location (x, y) of a control changes relative