Interface GestureInput

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<Key> getKeys()  
      boolean hasAltKey()
      Determines whether an Alt key was pressed when this input occurred.
      boolean hasControlKey()
      Determines whether a Control key was pressed when this input occurred.
      boolean hasShiftKey()
      Determines whether a Shift key was pressed when this input occurred.
    • Method Detail

      • getKeys

        java.util.Set<Key> getKeys()
        Returns:
        The keys that were pressed when this input occurred.
      • hasAltKey

        boolean hasAltKey()
        Determines whether an Alt key was pressed when this input occurred.
        Returns:
        true if one of the Alt keys were pressed when this input occurred.
        See Also:
        getKeys()
      • hasControlKey

        boolean hasControlKey()
        Determines whether a Control key was pressed when this input occurred.
        Returns:
        true if one of the Control keys were pressed when this input occurred.
        See Also:
        getKeys()
      • hasShiftKey

        boolean hasShiftKey()
        Determines whether a Shift key was pressed when this input occurred.
        Returns:
        true if one of the Shift keys were pressed when this input occurred.
        See Also:
        getKeys()