-
Book Overview & Buying
-
Table Of Contents
qooxdoo Beginner's Guide
Class is the main concept and a basic unit in object-oriented programming. Effective organization of the code into proper class hierarchy improves the reusability of the code and its maintainability. You need to understand this section thoroughly to write better code.
Classes implement the methods in the interfaces. A class is a template that describes the state and behavior of the object, while the object is an instance of the class that holds the data (that is, its own state) and access to all the behaviors defined in the class. As with any other object-oriented programming language, qooxdoo allows you to define a class in JavaScript.
A class can be defined with the qx.Class.define(<name>,<map>) method. The first parameter is a fully qualified class name, and the second parameter is the map that contains all the details of the object such as constructor, destructor, members that contain instance variables, behaviors, or methods, and so on. The keys in the map are predefined...
Change the font size
Change margin width
Change background colour