public class EventFiringObjectFactory
extends java.lang.Object
Constructor and Description |
---|
EventFiringObjectFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getEventFiringObject(T t,
WebDriver driver)
This method makes an event firing object.
|
static <T> T |
getEventFiringObject(T t,
WebDriver driver,
java.util.Collection<Listener> listeners)
This method makes an event firing object.
|
static <T> T |
getEventFiringObject(T t,
WebDriver driver,
Listener... listeners)
This method makes an event firing object.
|
public static <T> T getEventFiringObject(T t, WebDriver driver, java.util.Collection<Listener> listeners)
public static <T> T getEventFiringObject(T t, WebDriver driver)
T
- Tt
- an original Object
that is
supposed to be listenabledriver
- an instance of WebDriver
Object
that fires events