Subnodes of the Properties and Event Sources nodes


The subnodes are the JavaBeans properties and event sources themselves. Each of these subnodes has two groups of properties. The first group, under the Properties tab, are general properties and apply to both JavaBeans properties and event sets. The Expert tab holds settings specific to properties or event sets.

The most important property here is the Include in BeanInfo property, which is set to True by default. If you set this property to False, the JavaBeans property or event set will not be shown in the BeanInfo, either to users or to other classes. You can also change this value by right-clicking on the property or event source and choosing Toggle Include. When True, the icon has a green square with a white check mark; when False, it displays a red square with a white X.

In the Expert tab, you can change the mode of a JavaBeans property to make it more restrictive (that is, you can change a READ/WRITE to READ ONLY or WRITE ONLY).

Note: If you have any JavaBeans properties with non-standard names, source for these is not automatically generated in the BeanInfo. You can enter such code manually in the Editor.

In addition, if an indexed JavaBeans property has a non-indexed getter and setter, you can specify whether these methods are specified in the BeanInfo.

Tip: If you want to set a property sheet property to the same value for multiple JavaBeans properties or event sets, you can select several nodes at once and set the properties for all of them.


Contents Prev Next Index