TraverseEvent.detail

The traversal type. <p><ul> <li>{@link org.eclipse.swt.SWT#TRAVERSE_NONE}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_ESCAPE}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_RETURN}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_TAB_NEXT}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_TAB_PREVIOUS}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_ARROW_NEXT}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_ARROW_PREVIOUS}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_MNEMONIC}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_PAGE_NEXT}</li> <li>{@link org.eclipse.swt.SWT#TRAVERSE_PAGE_PREVIOUS}</li> </ul></p>

Setting this field will change the type of traversal. For example, setting the detail to <code>TRAVERSE_NONE</code> causes no traversal action to be taken.

When used in conjunction with the <code>doit</code> field, the traversal detail field can be useful when overriding the default traversal mechanism for a control. For example, setting the doit field to <code>false</code> will cancel the operation and allow the traversal key stroke to be delivered to the control. Setting the doit field to <code>true</code> indicates that the traversal described by the detail field is to be performed.

class TraverseEvent
int detail;

Meta