Generating method stubs

When you create a class with the Create Class SmartGuide, you can choose to generate stubs for the following methods:

To open the Create Class SmartGuide, click the New Class toolbar button newclass.gif (1035 bytes).  After defining the class, enable the appropriate options under Which method stubs would you like to create?  After generating the class (and method stubs) you just have to implement the logic for the methods.

Generating method stubs after a class is created
If you have already created a class which needs to implement certain method, or for which you need field accessors, you can generated stubs for the missing methods automatically. 

Implementing required methods
Required methods include:

To generate stubs for the required methods:

  1. Select the class (which will have an problem symbol jerror.gif (868 bytes) next to it).
  2. From the class' pop-up menu, select Generate > Required Methods.

ngrelt.gif (466 bytes)
Creating a class