Class DeviceKeyEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DeviceKeyEvent.Type
      Type of device key events.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeviceKeyEvent

        public DeviceKeyEvent​(DeviceKeyEvent.Type type,
                              DeviceKey deviceKey)
        Creates an event of a given type, and for the specified device key.
        Parameters:
        type - device key event type
        deviceKey - event device key subject
      • DeviceKeyEvent

        public DeviceKeyEvent​(DeviceKeyEvent.Type type,
                              DeviceKey deviceKey,
                              long time)
        Creates an event of a given type, for the specified device key, and the current time.
        Parameters:
        type - device key event type
        deviceKey - event device key subject
        time - occurrence time