BeanInfo Editor Dialog Box

See Also 

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 Filesystems window, as described in Node Icons in the Filesystems Window.

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 following properties are available for Beans, Properties, and Event Sources:

The IDE shows different Expert properties for each type of node. Method nodes in the BeanInfo Editor do not have Expert properties. For Properties nodes, the following Expert properties are available:

For Event Source nodes, the following Expert properties are available:

See Also
Generating BeanInfo
Creating a Bean
Inspector Window

Legal Notices