org.eclipse.swtbot.swt.finder.utils
Class SWTBotEvents

java.lang.Object
  extended by org.eclipse.swtbot.swt.finder.utils.SWTBotEvents

public abstract class SWTBotEvents
extends Object

This maps SWT events to the Strings.

Version:
$Id$
Author:
Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
SWTBotEvents()
           
 
Method Summary
static int[] events()
          Lists all the events.
static String toString(Event event)
           
static String toString(int event)
          Converts the event to a string for display.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTBotEvents

public SWTBotEvents()
Method Detail

toString

public static String toString(int event)
Converts the event to a string for display.

Parameters:
event - the event.
Returns:
the string representation of the display.

events

public static int[] events()
Lists all the events.

Returns:
all the events.

toString

public static String toString(Event event)
Parameters:
event - the event to be converted to a string.
Returns:
the typed event corresponding to the event.