changeset 1465:15b6051f1219

[DOC-ONLY]: RT-23402: minor improvement to SwipeEvent and GestureEvent doc.
author Pavel Safrata
date Tue, 24 Jul 2012 16:50:23 +0200
parents 7839d55ac4c0
children f724f741f885
files javafx-ui-common/src/javafx/scene/input/GestureEvent.java javafx-ui-common/src/javafx/scene/input/SwipeEvent.java
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/input/GestureEvent.java	Tue Jul 17 10:02:08 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/input/GestureEvent.java	Tue Jul 24 16:50:23 2012 +0200
@@ -35,6 +35,12 @@
 /**
  * An event indicating gesture input. Gestures are typically caused by
  * direct (touch screen) or indirect (track pad) touch events.
+ *
+ * <p>
+ * Delivery of gestures is dependent on the capabilities of the underlying
+ * platform and connected input devices. For instance on a PC with mouse
+ * and keyboard there is no way of producing a rotating gesture.
+ * </p>
  * @since 2.2
  */
 public class GestureEvent extends InputEvent {
--- a/javafx-ui-common/src/javafx/scene/input/SwipeEvent.java	Tue Jul 17 10:02:08 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/input/SwipeEvent.java	Tue Jul 24 16:50:23 2012 +0200
@@ -42,6 +42,11 @@
  * Note that swipe and scroll gestures are not exclusive. A single touch screen
  * action can result in both gestures being delivered.
  * <p>
+ * Note that the capability to produce swipes is dependent on the used input
+ * devices and underlying platform's capabilities and settings (especially
+ * without touch-screen user's possibilities of producing swipes are
+ * significantly reduced).
+ * <p>
  * As all gestures, swipe can be direct (performed directly at
  * the concrete coordinates as on touch screen - the center of the gesture
  * is used as gesture coordinates) or indirect (performed