Share this page

com.hp.lft.sdk.web

## Class EventInfoFactory

- java.lang.Object
- - com.hp.lft.sdk.web.EventInfoFactory

-     public class EventInfoFactory
      extends java.lang.Object

  A factory for creating EventInfo to be passed to the fireEvent method of the Web test object.

- - ### Constructor Summary

    Constructor and Description
    `EventInfoFactory()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `static EventInfo` | `createEventInfo(java.lang.String type)` Creates an event info for the given event type.
    `static MouseEventInfo` | `createMouseEventInfo(MouseEventTypes type)` Creates a mouse event info for the given mouse event type.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EventInfoFactory

          public EventInfoFactory()

  - ### Method Detail

    - #### createEventInfo

          public static EventInfo createEventInfo(java.lang.String type)

      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

          public static MouseEventInfo createMouseEventInfo(MouseEventTypes type)

      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.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: