Name

Interface java.beans.BeanInfo interface BeanInfo

Description

BeanInfo is an interface implemented by a class that provides explicit information about a Bean. It is used to describe one or more feature sets of a Bean, including its properties, methods, and events.

Class Definition

public interface BeanInfo 
{
   // methods
   BeanInfo[] getAdditionalBeanInfo();
   BeanDescriptor getBeanDescriptor();
   int getDefaultEventIndex();
   int getDefaultPropertyIndex();
   EventSetDescriptor[] getEventSetDescriptors();
   java.awt.Image getIcon(int iconKind);
   MethodDescriptor[] getMethodDescriptors();
   PropertyDescriptor[] getPropertyDescriptors();

   // fields
   final static int ICON_COLOR_16x16 = 1;
   final static int ICON_COLOR_32x32 = 2;
   final static int ICON_MONO_16x16 = 3;
   final static int ICON_MONO_32x32 = 4;
}

See Also

BeanDescriptor, EventSetDescriptor, MethodDescriptor, PropertyDe-scriptor

Get Developing Java Beans now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.