Chapter 12. Extending Classes

OpenLaszlo comes with hundreds of classes that make up the framework. You can use them to rapidly build your applications. However, sometimes—lots of times—there are circumstances whereby you need to add more functions to an existing class or change the behavior of a class. You can do this by creating a new class that encapsulates the functionality you want. In object-oriented programming, the process of creating a new class that is based on another class is called inheritance.

This chapter will take a look at how the LZX language supports inheritance. It also teaches you how to write new components you can use in your project or other projects.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset