BeanInfo

  • The BeanInfo interface provides information about a Java Bean, such as its properties, methods, and events.

  • It includes methods for retrieving bean descriptors, property descriptors, method descriptors, and event set descriptors.

  • BeanInfo defines constants for representing different types of icons associated with the bean.

  • Developers can extend the SimpleBeanInfo class for easier implementation of the BeanInfo interface.

  • The getAdditionalBeanInfo method allows for retrieving additional bean information from other sources.

public interface BeanInfo
Known Indirect Subclasses

Constants

public static final int ICON_COLOR_16x16

Constant Value: 1

public static final int ICON_COLOR_32x32

Constant Value: 2

public static final int ICON_MONO_16x16

Constant Value: 3

public static final int ICON_MONO_32x32

Constant Value: 4

Public Methods

public abstract BeanInfo[] getAdditionalBeanInfo ()

public abstract BeanDescriptor getBeanDescriptor ()

public abstract int getDefaultEventIndex ()

public abstract int getDefaultPropertyIndex ()

public abstract EventSetDescriptor[] getEventSetDescriptors ()

public abstract MethodDescriptor[] getMethodDescriptors ()

public abstract PropertyDescriptor[] getPropertyDescriptors ()