Class JavaScript


  • public class JavaScript
    extends org.zkoss.html.JavaScript
    Deprecated.
    As of release 6.0.0, replaced with JavaScript. Represents a javascript.
    Author:
    tomyeh
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaScript​(java.lang.String content)
      Deprecated.
      Creates by assigning the content (JavaScript codes).
      JavaScript​(java.lang.String src, java.lang.String charset)
      Deprecated.
      Creates by specifying the file to contain the JavaScript codes.
    • Method Summary

      • Methods inherited from class org.zkoss.html.JavaScript

        equals, getCharset, getContent, getSrc, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JavaScript

        public JavaScript​(java.lang.String src,
                          java.lang.String charset)
        Deprecated.
        Creates by specifying the file to contain the JavaScript codes.
        Parameters:
        src - URI of the file containing the JavaScript codes.
        charset - the charset. If null, "UTF-8" is assumed.
      • JavaScript

        public JavaScript​(java.lang.String content)
        Deprecated.
        Creates by assigning the content (JavaScript codes).
        Parameters:
        content - the JavaScript codes.