BeanInfo Editor Dialog Box

The BeanInfo Editor dialog box enables you to edit the elements of a BeanInfo class. To open this dialog box, right-click the Bean Patterns node of the class whose BeanInfo you want to create or update. Choose BeanInfo Editor from the contextual menu.

The IDE searches through the class hierarchy of the selected class for elements that match bean-naming conventions. All matching elements are displayed in the left of the BeanInfo Editor dialog box. You can select any element's node to view and edit its properties in the right of the dialog box.

BeanInfo elements are organized under the following nodes:

Each of these nodes has a property called Get From Introspection. If this property is set to false, the node's subnodes are available for inclusion in the BeanInfo class. You can include all of a node's subnodes in your BeanInfo class by right-clicking a node and choosing Include All. You can include each element individually by selecting its subnode and setting its Include in BeanInfo property.

When Include in BeanInfo is True, Included in BeanInfo icon appears next to the subnode. When Include in BeanInfo is False, Not included in BeanInfo icon appears. Other node icons in the BeanInfo Editor have the same meaning that they have in the Explorer, as described in Node Icons in the Explorer.

If Get From Introspection is set to true, the node's subnodes are dimmed and the elements they represent are taken from introspection when the bean is used. Setting the properties of dimmed subnodes has no effect in the generated BeanInfo code.

BeanInfo Node Properties

Properties for the Bean, Properties, Event Source, and Methods Nodes

The Properties tab displays the following properties for Beans, Properties, and Event Sources:

The Expert tab displays different properties for each type of node. Method nodes in the BeanInfo Editor do not have an Expert tab. For Properties nodes, the Expert tab displays the following properties:

For Event Source nodes, the Expert tab displays the following properties:

See also
Generating BeanInfo
Creating a Bean
Component Inspector

Legal Notices