Interface TouchCancelEventHandler

All Superinterfaces:
BrowserEventHandler

public interface TouchCancelEventHandler extends BrowserEventHandler
Touch cancel event handler interface
Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Touch cancel event handler
  • Method Details

    • onTouchCacnel

      void onTouchCacnel(TouchEvent event)

      Touch cancel event handler

      The event handler will be called, when the touch event is interrupted/cancelled.

      Each device cancels the touch event differently, and some call this event, thus, this could be used to keep the code clean. Not every device handles this event.

      Note: Touch events only work with touchscreen devices

      Parameters:
      event - The event object
      See Also: