General Interface is an open source project hosted by the Dojo Foundation

Introspection

Once a class, interface, or package has been defined as described above, it's introspectable. There are a few ways to get a handle to an instance of jsx3.lang.Class or jsx3.lang.Package :

var aClass = anObject.getClass(); // returns an instance of jsx3.lang.Class
var aPackage = aClass.getPackage(); // returns an instance of jsx3.lang.Package

com.tibco.Widget.jsxclass; // instance of jsx3.lang.Class
com.tibco.jsxpackage; // instance of jsx3.lang.Package

// the following returns null if any part of the namespace is undefined:
jsx3.lang.Class.forName("com.tibco.Widget");
jsx3.lang.Package.forName("com.tibco");

Consult the API Documentation for all the methods of these classes that can be used to introspect their contents.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.