< prev index next >

modules/graphics/src/main/java/javafx/scene/input/TouchEvent.java

Print this page

        

@@ -129,11 +129,10 @@
      * @param eventSetId set id of the multi-touch action
      * @param shiftDown true if shift modifier was pressed.
      * @param controlDown true if control modifier was pressed.
      * @param altDown true if alt modifier was pressed.
      * @param metaDown true if meta modifier was pressed.
-     * @param direct true if the event was caused by direct input device. See {@link #isDirect() }
      * @since JavaFX 8.0
      */
     public TouchEvent(@NamedArg("eventType") EventType<TouchEvent> eventType,
             @NamedArg("touchPoint") TouchPoint touchPoint, @NamedArg("touchPoints") List<TouchPoint> touchPoints, @NamedArg("eventSetId") int eventSetId,
             @NamedArg("shiftDown") boolean shiftDown, @NamedArg("controlDown") boolean controlDown, @NamedArg("altDown") boolean altDown,

@@ -176,13 +175,13 @@
         return e;
     }
 
     /**
      * Creates a copy of the given event with the given fields substituted.
-     * @param source the new source of the copied event
-     * @param target the new target of the copied event
-     * @param eventType the new eventType
+     * @param newSource the new source of the copied event
+     * @param newTarget the new target of the copied event
+     * @param type the new eventType
      * @return the event copy with the fields substituted
      * @since JavaFX 8.0
      */
     public TouchEvent copyFor(Object newSource, EventTarget newTarget, EventType<TouchEvent> type) {
         TouchEvent e = copyFor(newSource, newTarget);
< prev index next >