Class UIButtonSpecJSAction


  • public final class UIButtonSpecJSAction
    extends UIButtonSpec
    Standard button to launch a JavaScript command. This command can be a function or a piece of JavaScript code.
    Since:
    5.2.0
    • Constructor Detail

      • UIButtonSpecJSAction

        public UIButtonSpecJSAction​(UserMessage aLabel,
                                    String aJavaScriptCommand)
        Parameters:
        aLabel - the label of the button.
        aJavaScriptCommand - the JavaScript command to call when the button is clicked.
    • Method Detail

      • getJavaScriptCommand

        public String getJavaScriptCommand()
        Returns:
        the JavaScript command called by this button