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