comparison dwt/events/ArmListener.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 380af2bdd8e5
children d8635bb48c7c
comparison
equal deleted inserted replaced
33:965ac0a77267 34:5123b17c98ef
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.ArmListener; 13 module dwt.events.ArmListener;
12 14
13 import dwt.dwthelper.utils; 15 public import dwt.internal.DWTEventListener;
14 16 public import dwt.events.ArmEvent;
15 import dwt.internal.DWTEventListener;
16 17
17 /** 18 /**
18 * Classes which implement this interface provide a method 19 * Classes which implement this interface provide a method
19 * that deals with the event that is generated when a widget, 20 * that deals with the event that is generated when a widget,
20 * such as a menu item, is armed. 21 * such as a menu item, is armed.
21 * <p> 22 * <p>
22 * After creating an instance of a class that implements 23 * After creating an instance of a class that :
23 * this interface it can be added to a widget using the 24 * this interface it can be added to a widget using the
24 * <code>addArmListener</code> method and removed using 25 * <code>addArmListener</code> method and removed using
25 * the <code>removeArmListener</code> method. When the 26 * the <code>removeArmListener</code> method. When the
26 * widget is armed, the widgetArmed method will be invoked. 27 * widget is armed, the widgetArmed method will be invoked.
27 * </p> 28 * </p>