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