Assigns a delegate to the resize event.
public final void addOnResize ( EventHandler h )
h
The EventHandler delegate to be notified when the event occurs.
The delegate specifies a method that is called when the window is resized.
See Also removeOnResize