onAction abstract method
Subscribes listener
to every action triggered by the view or its children.
This method returns a function that, when called, undoes the subscription (removes the listener).
Implementation
RemoveListener onAction(ActionListener listener);