BeanInfo and JavaBean Customization
The java.beans.BeanInfo interface is used to define everything about a Bean that is not implied by reflection and design patterns
extend java.beans.SimpleBeanInfo which defaults all the methods to null which implies that one use reflection
- this allows one to violate all the design patterns for methods events and properties and supply information by hand!
BeanInfo can supply
- an icon to represent Bean
- a list of supported properties, events and methods with a short (help) description of them
- the default property event or method
- custom property editors for all or some of properties of the Bean
BeanDescriptor is one of entities you can get from BeanInfo and this holds overall information about the Bean