Example of Generated Feature Code

Suppose you define simpleString, the most basic property useful for visual composition: readable, writable, and bound to an event. VisualAge generates the following items:

If simpleString is indexed, VisualAge also generates the following items:

Suppose you define an existing event set, action, for use in your class using default values in the New Event Set SmartGuide. VisualAge generates the following items:

Suppose you define stringModified, a new listener event specifically for your class. VisualAge generates the following items:


Related concepts
Generated Code
Generated BeanInfo Descriptor Code (an advanced topic)
Code Generated from Visually Composed Beans
How Generated Code Coexists with User-Written Code

Related procedures
Defining Bean Interfaces for Visual Composition

Related references
Example of Code Generated from Visual Composite
Beans for Visual Composition