< prev index next >

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

Print this page

        

*** 213,225 **** return (SwipeEvent) 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 SwipeEvent copyFor(Object newSource, EventTarget newTarget, EventType<SwipeEvent> type) { SwipeEvent e = copyFor(newSource, newTarget); --- 213,225 ---- return (SwipeEvent) 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 SwipeEvent copyFor(Object newSource, EventTarget newTarget, EventType<SwipeEvent> type) { SwipeEvent e = copyFor(newSource, newTarget);
< prev index next >