setActionHandler abstract method
Assigns a handler
function to an action with a given name
.
If the action is invoked, the handler
function will be called to handle
the interaction.
Implementation
void setActionHandler(String name, ActionHandler handler);