Animation.addOnStop

Overview | Methods | This Package | All Packages

Animation.addOnStop

Assigns a delegate to the stop event.

Syntax

public final void addOnStop( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

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