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 Details

    • 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.