/** * Add a focus handler. * <p> * Called when this FormItem receives focus. * * @param handler the focus handler * @return {@link HandlerRegistration} used to remove this handler */ public HandlerRegistration addFocusHandler(com.smartgwt.client.widgets.form.fields.events.FocusHandler handler) { if(getHandlerCount(com.smartgwt.client.widgets.form.fields.events.FocusEvent.getType()) == 0) setupFocusEvent(); return doAddHandler(handler, com.smartgwt.client.widgets.form.fields.events.FocusEvent.getType()); }