Assigns a delegate to the gotFocus event.
public final void addOnGotFocus( EventHandler h )
h
The EventHandler delegate to be notified when the event occurs.
The delegate specifies a method that is called when the current element receives input focus.
See Also removeOnGotFocus