In JADE, every class must be defined as the subclass of some other class (its superclass). To define a new class, you must therefore first select an appropriate superclass (which may be the
A subclass inherits the behavior of its superclasses. For details about controlling how classes, methods, and properties implemented in your schemas are used by developers in other schemas, see "Controlling the Use of Elements in Other Schemas", in Chapter 1.
To add a class
In the Class Browser window, select the class that you intend to be the superclass of your new class. For details, see "Defining a Class", in the following subsection.
Select the Add command from the Classes menu.
The Define Class dialog, shown in the following image, is then displayed.
The Define Class dialog also contains the following sheets.
Membership (for details, see "Defining Membership of a Collection Class", later in this section)
Keys (for details, see "Defining Keys for a Dictionary Class", later in this section)
Lifetime (for details, see "Specifying Class Lifetimes", later in this section)
Options (for details, see "Defining Options for a Control Class", later in this section)
Text (for details, see "Specifying Text for a Class", later in this section)
Tuning (for details, see "Tuning Collection Classes", later in this section)
Volatility (for details, see "Maintaining Class Instance Volatility", later in this section)
Web Services (for details, see "
The Membership sheet is enabled only if you are adding a subclass to a
The Keys and Tuning sheets are enabled only if you are adding a subclass to a collection