Assigns a delegate to the stop event.
public final void addOnStop( EventHandler value )
value
The EventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the stop event to that method in the Properties window. The stop event occurs when an animation file stops playing in the Animation control.
See Also removeOnStop