com.hp.lft.sdk.web

Class MouseEventInfo



  • public class MouseEventInfo
    extends EventInfo
    The HTML mouse event info to be used for the FireEvent method.
    • Method Summary

      Modifier and TypeMethod and Description
      MouseButtongetButton()
      Returns the button of the mouse that is used with the event.
      LocationgetLocation()
      Returns the location to be used by the event.
      voidsetButton(MouseButton button)
      Sets the button of the mouse that is used with the event.
      voidsetLocation(Location location)
      Sets the location to be used by the event.
      • 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.