Search completed in 1.19 seconds.
9 results for "JavaClass":
JavaClass - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaClass
created by a reference to the class name used with the packages object: packages.javaclass javaclassis the fully-specified name of the object's java class.
... the liveconnect java, sun, and netscape objects provide shortcuts for commonly used java packages and also create javaclass objects.
... description a javaclass object is a reference to one of the classes in a java package, such as netscape.javascript.jsobject.
...And 8 more matches
LiveConnect Overview - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Overview
javaclass a javascript reference to a java class.
...these java methods are available in javascript as methods of the javaobject, and you can call them as follows: mystring.length(); // returns 11 static members can be called directly on the javaclass object.
...package and class references simple references to java packages and classes from javascript create the javapackage and javaclass objects.
...And 9 more matches
JavaPackage - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaPackage
a javaclass object is a reference to one of the classes in a package, such as netscape.javascript.jsobject.
... the javapackage and javaclass hierarchy reflect the java package and class hierarchy.
... properties the properties of a javapackage are the javaclass objects and any other javapackage objects it contains.
...the following code creates the javapackage red: var red = packages.redwood; see also javaarray, javaclass, javaobject, packages ...
JavaArray - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaArray
in javascript 1.4 and later, the componenttype parameter is either a javaclass object representing the type of the array or class object, such as one returned by java.lang.class.forname.
...you cannot use a javaclass object for the componenttype parameter.
... var javastring = new java.lang.string("hello world!"); var bytearray = javastring.getbytes(); example: instantiating a javaarray in javascript with the newinstance method in javascript 1.4, you can use a javaclass object as the argument for the newinstance method which creates the array, as shown in the following code: var dogs = java.lang.reflect.array.newinstance(java.lang.string, 5); in javascript 1.1, use a class object returned by java.lang.class.forname as the argument for the newinstance method, as shown in the following code: var datatype = java.lang.class.forname("java.lang.string"); var dogs ...
JavaObject - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaObject
in addition, you can explicitly construct a javaobject using the object's java constructor with the packages keyword: new packages.javaclass(parameterlist) javaclassis the fully-specified name of the object's java class.
... var thestring = new java.lang.string("hello, world"); thestring.getclass(); // returns java.lang.string see also javaarray, javaclass, javapackage, packages ...
Scripting Java
MozillaProjectsRhinoScripting Java
so the previous example could be even shorter: js> java [javapackage java] we can access java classes simply by stepping down the package hierarchy: js> java.io.file [javaclass java.io.file] if your scripts access a lot of different java classes, it can get awkward to use the full package name of the class every time.
...for example, we could import all of the classes in the java.io package and access class java.io.file using just the name file: js> importpackage(java.io) js> file [javaclass java.io.file] here importpackage(java.io) makes all the classes in the java.io package (such as file) available at the top level.
Compiling The npruntime Sample Plugin in Visual Studio - Archive of obsolete content
ArchiveMozillaCompiling The npruntime Sample Plugin in Visual Studio
to reflect your plugin remove the function npp_getjavaclass from npp_gate.cpp build rename the resulting dll so that the filename starts with "np" and ends with ".dll" (or "32.dll"?
NPN_SetValue - Archive of obsolete content
ArchivePluginsReferenceNPN SetValue
variable values the function can set: nppvpluginwindowbool: sets windowed/windowless mode for plugin display; true=windowed, false=windowless nppvplugintransparentbool: sets transparent mode for display of a plugin; true=transparent, false=opaque nppvjavaclass nppvpluginwindowsize nppvplugintimerinterval nppvpluginscriptableinstance nppvpluginscriptableiid nppvjavascriptpushcallerbool: specifies whether you are pushing or popping the jscontext off the stack nppvpluginkeeplibraryinmemory: tells browser that the plugin dll should live longer than usual nppvpluginneedsxembed nppvpluginscriptablenpobject nppvformvalue nppvplugindrawingm...
LiveConnect Reference - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Reference
java-to-javascript global objects java packages netscape sun javaarray javaclass javaobject javapackage ...