< prev index next >

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

Print this page

        

*** 98,108 **** * @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() } - * @param touchCount number of touch points * @param inertia if represents inertia of an already finished gesture. * @param zoomFactor zoom amount * @param totalZoomFactor cumulative zoom amount * @param pickResult pick result. Can be null, in this case a 2D pick result * without any further values is constructed --- 98,107 ----
*** 138,148 **** * @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() } - * @param touchCount number of touch points * @param inertia if represents inertia of an already finished gesture. * @param zoomFactor zoom amount * @param totalZoomFactor cumulative zoom amount * @param pickResult pick result. Can be null, in this case a 2D pick result * without any further values is constructed --- 137,146 ----
*** 239,251 **** return (ZoomEvent) super.copyFor(newSource, newTarget); } /** * 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 * @return the event copy with the fields substituted * @since JavaFX 8.0 */ public ZoomEvent copyFor(Object newSource, EventTarget newTarget, EventType<ZoomEvent> type) { ZoomEvent e = copyFor(newSource, newTarget); --- 237,249 ---- return (ZoomEvent) super.copyFor(newSource, newTarget); } /** * Creates a copy of the given event with the given fields substituted. ! * @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 ZoomEvent copyFor(Object newSource, EventTarget newTarget, EventType<ZoomEvent> type) { ZoomEvent e = copyFor(newSource, newTarget);
< prev index next >