/******************************************************************************* * Copyright (c) 2008 Ketan Padegaonkar and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Ketan Padegaonkar - initial API and implementation *******************************************************************************/ package org.eclipse.swtbot.swt.finder.utils; import org.eclipse.swt.SWT; /** * An enum that represents traversal events. * * @see SWT#TRAVERSE_TAB_NEXT * @see SWT#TRAVERSE_TAB_PREVIOUS * @author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com> * @version $Id$ */ public enum Traverse { /** An event that represents traversal using the TAB key */ TAB_NEXT(SWT.TRAVERSE_TAB_NEXT), /** An event that represents traversal using the SHIFT+TAB key */ TAB_PREVIOUS(SWT.TRAVERSE_TAB_PREVIOUS); public final int type; private Traverse(int type) { this.type = type; } }