Class JavaScript

    • Constructor Detail

      • JavaScript

        public JavaScript​(JavaScript actor)
        Construct the JavaScript adapter.
        Parameters:
        actor - the associated actor
    • Method Detail

      • _generateJavaScriptParameters

        protected java.lang.StringBuffer _generateJavaScriptParameters​(NamedObj namedObj)
                                                                throws IllegalActionException
        Given a NamedObj, generate JavaScript for any parameters.
        Parameters:
        namedObj - The object
        Returns:
        The JavaScript definitions for the parameters.
        Throws:
        IllegalActionException - If there is a problem getting the parameters.