Mercurial > projects > dwt-linux
comparison dwt/custom/VerifyKeyListener.d @ 259:c0d810de7093
Update SWT 3.4M7 to 3.4
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 29 Jun 2008 14:33:38 +0200 |
parents | 0f12f6bb9739 |
children |
comparison
equal
deleted
inserted
replaced
257:cc1d3de0e80b | 259:c0d810de7093 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2005 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 * |
14 | 14 |
15 | 15 |
16 import dwt.events.VerifyEvent; | 16 import dwt.events.VerifyEvent; |
17 import dwt.internal.DWTEventListener; | 17 import dwt.internal.DWTEventListener; |
18 | 18 |
19 /** | |
20 * Classes which implement this interface provide a method | |
21 * that deals with the event that is generated when a | |
22 * key is pressed. | |
23 * | |
24 * @see VerifyEvent | |
25 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | |
26 */ | |
19 public interface VerifyKeyListener : DWTEventListener { | 27 public interface VerifyKeyListener : DWTEventListener { |
20 /** | 28 /** |
21 * The following event fields are used:<ul> | 29 * The following event fields are used:<ul> |
22 * <li>event.character is the character that was typed (input)</li> | 30 * <li>event.character is the character that was typed (input)</li> |
23 * <li>event.keyCode is the key code that was typed (input)</li> | 31 * <li>event.keyCode is the key code that was typed (input)</li> |