Class UIButtonSpecJSAction

java.lang.Object
com.orchestranetworks.ui.UIButtonSpec
com.orchestranetworks.ui.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 Details

    • 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 Details

    • getJavaScriptCommand

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