


The number of touch points that are generated might be limited by the touch screen. Touch events are introduced in JavaFX 2.2 and require a touch screen and the Windows 7 operating system. For more information about handling gesture events, see Working with Events from Touch-Enabled Devices. If your JavaFX application does not require a complex response to a touch action, you might prefer to handle the mouse or gesture event instead of the touch event. In addition to the touch events, mouse events and gesture events are generated.

A series of events is generated for each point of contact for the duration of the action. The action can be a simple press and release, or a more complicated series of holds and moves between the press and release. This topic shows you how to identify the touch points and handle touch events to provide sophisticated responses to touch actions.Ī touch action consists of one or more points of contact on a touch screen. Touch points identify each point of contact for a touch. This topic describes the touch events that enable users to interact with your JavaFX application using a touch screen. Handling Concurrent Touch Points Independently.Additional Events Generated from Touches.Touch Point Targets and Touch Event Targets.Registering and Removing an Event Handlerĥ Working with Events from Touch-Enabled Devices.Filters for the Draggable Panels Example.Registering and Removing an Event Filter.
