Previous Next

Bean Wizard

Adding properties to classes

Use the Properties panel to specify the properties you want to add to each class, and how those properties should be handled.

Select the class you want to add a property to in the Class drop-down list. For each property, you specify its name, visibility (public, protected, private, or default) and type. The drop-down list identifies some standard types, or you can enter another type. You also specify whether you want:

The Class drop-down list contains all classes currently defined in the project.

Bean Wizard Properties Panel

You can remove properties that are added in the current session by returning to the Properties panel, select the property you want to remove, and pressing the Remove button. However if you are modifying an existing project, you cannot use the wizard to remove properties that were added in an earlier session.You must do this manually.

Note: For properties in the model or view class, the wizard generates corresponding access methods in the component controller. If you later remove the property, you must also remove the corresponding access methods from the controller.

Select another tab to define other aspects of the component. Press the Next>> button to go to the code generation panel.


Previous Next

Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.