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