BeanInfo Editor Dialog Box

The BeanInfo Editor dialog box enables you to edit the elements of a BeanInfo class. To display 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 heirarchy 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 have 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-click a node and choose Include All or Exclude 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 gray and the elements they represent are taken from introspection when the bean is used. Setting the properties of gray subnodes has no effect in the generated BeanInfo code.

BeanInfo Node Properties

Properties for Bean, Properties, Event Source, and Methods Subnodes

See also
Generating BeanInfo
Creating a Bean
Component Inspector

Legal Notices