Help
registerAction
Registers a handler for the specified action. Actions are a mechanism for frames to present UI controls that apply to a component. The frames can hide the UI if no components register for the action. Components call registerAction to tell the frame that they want to handle the specified action. Because the component does not know if it is the main frame content, all components register for the actions they can handle. However, only the main frame content component handler is called with the action event.
Syntax
registerAction(String componentType, String id, String action, Function handler, Object scope) : void
Parameters
Returns
void
See Also
actionregistered ActionHandler