Open topic with navigation

com.hp.lft.sdk.web

## Class MouseEventInfo

- java.lang.Object
- - com.hp.lft.sdk.web.EventInfo
  - - com.hp.lft.sdk.web.MouseEventInfo

-     public class MouseEventInfo
      extends EventInfo

  The HTML mouse event info to be used for the FireEvent method.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `MouseButton` | `getButton()` Returns the button of the mouse that is used with the event.
    `Location` | `getLocation()` Returns the location to be used by the event.
    `void` | `setButton(MouseButton button)` Sets the button of the mouse that is used with the event.
    `void` | `setLocation(Location location)` Sets the location to be used by the event.

    - ### Methods inherited from class com.hp.lft.sdk.web.EventInfo

      `getType, setType`

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

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

- - ### Method Detail

    - #### getButton

          public MouseButton getButton()

      Returns the button of the mouse that is used with the event. Default value: LEFT
      Returns:
        the button of the mouse that is used with the event.

    - #### setButton

          public void setButton(MouseButton button)

      Sets the button of the mouse that is used with the event.
      Parameters:
        `button` - the button of the mouse that is used with the event.

    - #### getLocation

          public Location getLocation()

      Returns the location to be used by the event. Default value: CENTER
      Returns:
        the location to be used by the event.

    - #### setLocation

          public void setLocation(Location location)

      Sets the location to be used by the event.
      Parameters:
        `location` - the location to be used by the event.