Package com.hp.lft.sdk.web
Class EventInfoFactory
java.lang.Object
com.hp.lft.sdk.web.EventInfoFactory
A factory for creating EventInfo to be passed to the fireEvent method of the Web test object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventInfo
createEventInfo
(String type) Creates an event info for the given event type.static MouseEventInfo
Creates a mouse event info for the given mouse event type.
-
Constructor Details
-
EventInfoFactory
public EventInfoFactory()
-
-
Method Details
-
createEventInfo
Creates an event info for the given event type.- Parameters:
type
- the type of event. The event can be any HTML DOM event. For details, see http://www.w3schools.com/jsref/dom_obj_event.asp- Returns:
- event info for the given event type.
-
createMouseEventInfo
Creates a mouse event info for the given mouse event type.- Parameters:
type
- the type of mouse event.- Returns:
- a mouse event info for the given mouse event type.
-