Package com.scratchdisk.script.rhino

Examples of com.scratchdisk.script.rhino.ExtendedJavaClass


    // the classes' constructors can now whether an object
    // is created as prototype or as real object through
    // isCreatingPrototypes()

    for (int i = 0; i < classes.length; i++) {
      ExtendedJavaClass cls = new ExtendedJavaClass(this, classes[i], true);
      // Put it in the global scope:
      ScriptableObject.defineProperty(this, cls.getClassName(), cls,
        ScriptableObject.PERMANENT | ScriptableObject.READONLY
          | ScriptableObject.DONTENUM);
    }

    // Define some global functions and objects:
View Full Code Here

TOP

Related Classes of com.scratchdisk.script.rhino.ExtendedJavaClass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.