org.eclipse.swt.events
Class TraverseEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.eclipse.swt.internal.SWTEventObject
|
+--org.eclipse.swt.events.TypedEvent
|
+--org.eclipse.swt.events.KeyEvent
|
+--org.eclipse.swt.events.TraverseEvent
- All Implemented Interfaces:
- Serializable
- public class TraverseEvent
- extends KeyEvent
Unsafe:
- See Also:
- Serialized Form
Field Summary |
int |
detail
Enabled: The traversal type. |
boolean |
doit
Enabled: A flag indicating whether the operation should be allowed. |
Constructor Summary |
TraverseEvent(Event e)
Suppressed: Constructs a new instance of this class based on the
information in the given untyped event. |
detail
public int detail
- Enabled: The traversal type.
org.eclipse.swt.SWT#TRAVERSE_NONE
org.eclipse.swt.SWT#TRAVERSE_ESCAPE
org.eclipse.swt.SWT#TRAVERSE_RETURN
org.eclipse.swt.SWT#TRAVERSE_TAB_NEXT
org.eclipse.swt.SWT#TRAVERSE_TAB_PREVIOUS
org.eclipse.swt.SWT#TRAVERSE_ARROW_NEXT
org.eclipse.swt.SWT#TRAVERSE_ARROW_PREVIOUS
org.eclipse.swt.SWT#TRAVERSE_MNEMONIC
org.eclipse.swt.SWT#TRAVERSE_PAGE_NEXT
org.eclipse.swt.SWT#TRAVERSE_PAGE_PREVIOUS
Setting this field will change the type of traversal.
For example, setting the detail to TRAVERSE_NONE
causes no traversal action to be taked. The traversal detail,
in conjuction with the doit
field can be useful
when overriding the default traversal mechanism for a control.
doit
public boolean doit
- Enabled: A flag indicating whether the operation should be allowed.
Setting this field to
false
will cancel the operation
and allow the traversal key stroke to be delivered to the control.
A value of true indicates that the traversal, described by the
traversal detail
is to be performed.
TraverseEvent
public TraverseEvent(Event e)
- Suppressed: Constructs a new instance of this class based on the
information in the given untyped event.
- Parameters:
e
- the untyped event containing the information
comments?