JavaScript Inheritance and Object Programming

Source Code (Showing Class-Based Inheritance and Object Programming)

© 21 May, 2013, Martin Rinehart


These pages (this one and the four .js pages) provide the source code for the JSWindows system. The .js files are:

  1. jsw2-code.js—Library functions and utility classes.
  2. jsw2-data.js—Constants (skins) for the designers.
  3. jsw2-wobjs.jsWobj class and classes inheriting from Wobj.
  4. jsw2-capabilities.js—Capabilities that the Wobj classes can implement.

To try these yourself, copy from the page (bottom menu, top of this page) and paste into your code editor. Save to a folder you choose for your project.



Site Map, Page Children


Feedback: Martin Rinehart at gmail dot com.

# # #