public final void setOnScroll (EventHandler<? super ScrollEvent> value)

taken from field

Defines a function to be called when user performs a scrolling action.