Mercurial > projects > dwt-linux
comparison dwt/events/KeyEvent.d @ 10:63c023465156
moved from org.eclipse.swt to dwt
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 05 Jan 2008 17:58:37 +0100 |
parents | ad2b69216039 |
children | 8cec8f536af3 |
comparison
equal
deleted
inserted
replaced
9:ad2b69216039 | 10:63c023465156 |
---|---|
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 *******************************************************************************/ | 10 *******************************************************************************/ |
11 module org.eclipse.swt.events.KeyEvent; | 11 module dwt.events.KeyEvent; |
12 | 12 |
13 | 13 |
14 import org.eclipse.swt.widgets.Event; | 14 import dwt.widgets.Event; |
15 import org.eclipse.swt.events.TypedEvent; | 15 import dwt.events.TypedEvent; |
16 | 16 |
17 import tango.text.convert.Format; | 17 import tango.text.convert.Format; |
18 | 18 |
19 /** | 19 /** |
20 * Instances of this class are sent as a result of | 20 * Instances of this class are sent as a result of |
53 * When the character field of the event is ambiguous, this field | 53 * When the character field of the event is ambiguous, this field |
54 * contains the unicode value of the original character. For example, | 54 * contains the unicode value of the original character. For example, |
55 * typing Ctrl+M or Return both result in the character '\r' but the | 55 * typing Ctrl+M or Return both result in the character '\r' but the |
56 * keyCode field will also contain '\r' when Return was typed. | 56 * keyCode field will also contain '\r' when Return was typed. |
57 * | 57 * |
58 * @see org.eclipse.swt.SWT | 58 * @see dwt.SWT |
59 */ | 59 */ |
60 public int keyCode; | 60 public int keyCode; |
61 | 61 |
62 /** | 62 /** |
63 * the state of the keyboard modifier keys at the time | 63 * the state of the keyboard modifier keys at the time |
64 * the event was generated, as defined by the key code | 64 * the event was generated, as defined by the key code |
65 * constants in class <code>SWT</code>. | 65 * constants in class <code>SWT</code>. |
66 * | 66 * |
67 * @see org.eclipse.swt.SWT | 67 * @see dwt.SWT |
68 */ | 68 */ |
69 public int stateMask; | 69 public int stateMask; |
70 | 70 |
71 /** | 71 /** |
72 * A flag indicating whether the operation should be allowed. | 72 * A flag indicating whether the operation should be allowed. |