I keep hearing about bean info. What is it?

John Zukowski

The JavaBeans model provides a default way of looking inside a class to find out its properties and events it generates. If you would like to provide a different view to the development tool, then you can customize how the tool views the component. This customization is done through providing a custom BeanInfo class for the component, where the name of the bean info class is the name of the bean with the suffix BeanInfo added. For instance, for the DateField bean, its bean info would be DateFieldBeanInfo.

The BeanInfo class is also used to define which property editors, customizers and icons are used when accessed from an editor tool.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact