Class that defines a serializable click event handler.
Parameters of the function
Type of the function
Type of the event.
Class that defines a serializable click event handler.