Custom Interface Helper Methods

All custom interfaces of type <scriptedInterface> must have a handler method in …\JSXAPPS\workspace\application\js\AppMain.js. The name of the method must match the value of the source attribute in the scripted interface definition. The method is automatically invoked when the menu item or toolbar button of the custom interface is selected.

Each handler method must receive an interfaceObject as an input parameter, which is a reference to the menu item or toolbar button that launches the custom interface. This interfaceObject is then passed to the various "helper" methods that are used to create custom interfaces.

Also see the loadInterface_sample method, in …\JSXAPPS\workspace\application\js\AppMain.js for examples of how to use the helper methods.

The following helper methods are available.