Assigns a delegate to the scroll event.
public final void addOnScroll ( EventHandler h )
h
The EventHandler delegate to be notified when the event occurs.
The delegate specifies a method that is called when this element is scrolled.
See Also removeOnScroll