Class HumanInputEvent<H extends EventHandler>

Type Parameters:
H - handler type
All Implemented Interfaces:
HasNativeEvent
Direct Known Subclasses:
MouseEvent, TouchEvent

public abstract class HumanInputEvent<H extends EventHandler> extends DomEvent<H>
Abstract class representing position events such as mouse or touch events.
  • Constructor Details

    • HumanInputEvent

      public HumanInputEvent()
  • Method Details

    • isAltKeyDown

      public boolean isAltKeyDown()
      Is alt key down.
      Returns:
      whether the alt key is down
    • isControlKeyDown

      public boolean isControlKeyDown()
      Is control key down.
      Returns:
      whether the control key is down
    • isMetaKeyDown

      public boolean isMetaKeyDown()
      Is meta key down.
      Returns:
      whether the meta key is down
    • isShiftKeyDown

      public boolean isShiftKeyDown()
      Is shift key down.
      Returns:
      whether the shift key is down