FocusHandlerAdapter class
Handler interface for {@link FocusEvent} events.
class FocusHandlerAdapter extends EventHandlerAdapter implements FocusHandler { FocusHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when FocusEvent is fired. * * @param event the {@link FocusEvent} that was fired */ void onFocus(FocusEvent event) { callback(event); } }
Extends
EventHandlerAdapter > FocusHandlerAdapter
Implements
Constructors
new FocusHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onFocus(FocusEvent event) #
Called when FocusEvent is fired.
@param event the {@link FocusEvent} that was fired
void onFocus(FocusEvent event) { callback(event); }