TOC PREV NEXT INDEX



Using Beans


Java Beans can be clicked into a layout in the same manner as any other part. The properties page for a bean contains the Object Name field plus those properties which have 'set' methods. The visual properties for a bean can be modified on the Visual page. The bean is queried by the Composer for any events it will listen for. These appear on the Listeners page.

Any additional properties and setup code for a bean should be placed in the constructor code page. (Choose Goto constructor page from the Code menu.)

The Code Sourcerer can probe the methods of a bean. Bean properties can be queried or changed using the first two options in the code sourcerer. These options are

Both of these options will present the user with a list of the parts which have been added to the Working Model. If the user chooses a bean part, the properties of the bean will be displayed on the following page.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX