Interface TouchListener

  • public interface TouchListener
    Classes which implement this interface provide methods that deal with the events that are generated as touches occur on a touch-aware input surface.

    After creating an instance of a class that implements this interface it can be added to a control using the addTouchListener method and removed using the removeTouchListener method. When a touch occurs or changes state, the touch method will be invoked.

    See Also:
    • Method Detail

      • touch

        void touch​(TouchEvent e)
        Sent when a touch sequence begins, changes state, or ends.
        e - an event containing information about the touch