CloseHandlerAdapter class
Handler for {@link CloseEvent} events.
class CloseHandlerAdapter extends EventHandlerAdapter implements CloseHandler { CloseHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when a close event is fired. * * @param event the {@link CloseEvent} that was fired */ void onClose(CloseEvent event) { callback(event); } }
Extends
EventHandlerAdapter > CloseHandlerAdapter
Implements
Constructors
new CloseHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onClose(CloseEvent event) #
Called when a close event is fired.
@param event the {@link CloseEvent} that was fired
void onClose(CloseEvent event) { callback(event); }