summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events
diff options
context:
space:
mode:
authorSteve Northover <steve>2005-11-07 22:06:10 +0000
committerSteve Northover <steve>2005-11-07 22:06:10 +0000
commit714e389d2d9e66a00f5c1bb7b55305f016962aa2 (patch)
tree943bd8f729e307f8c88e022aefc7aafb25433629 /bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events
parent1763d40aff712f825f32e1f4d8a3a7dce49533f0 (diff)
downloadeclipse.platform.swt-714e389d2d9e66a00f5c1bb7b55305f016962aa2.tar.gz
eclipse.platform.swt-714e389d2d9e66a00f5c1bb7b55305f016962aa2.tar.xz
eclipse.platform.swt-714e389d2d9e66a00f5c1bb7b55305f016962aa2.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java16
1 files changed, 14 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java
index 0f3cbd98f3..3ebc5805e3 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java
@@ -15,9 +15,21 @@ import org.eclipse.swt.widgets.Event;
/**
* Instances of this class are sent as a result of
- * keys being pressed and released on the keyboard
- *
+ * keys being pressed and released on the keyboard.
+ * <p>
+ * When a key listener is added to a control, the control
+ * is expected to take part in widget traversal. By default,
+ * all traversal keys (such as the tab key and so on) are
+ * delivered to the control. In order for a control to take
+ * part in traversal, it should listen for traversal events.
+ * Otherwise, the user can traverse into a control but not
+ * out. Note that native controls such as table and tree
+ * implement key traversal in the operating system. It is
+ * not necessary to add traveral listeners for these controls,
+ * unless you want to override the default traveral.
+ * </p>
* @see KeyListener
+ * @see TraverseListener
*/
public class KeyEvent extends TypedEvent {