< prev index next >

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

Print this page

        

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