Public Member Functions | |
BeanInfoSupport () | |
final BeanInfo[] | getAdditionalBeanInfo () |
final BeanDescriptor | getBeanDescriptor () |
final PropertyDescriptor[] | getPropertyDescriptors () |
final EventSetDescriptor[] | getEventSetDescriptors () |
final MethodDescriptor[] | getMethodDescriptors () |
final int | getDefaultPropertyIndex () |
final int | getDefaultEventIndex () |
final java.awt.Image | getIcon (int iconKind) |
Protected Member Functions | |
BeanDescriptor | getBeanDescriptorLazy () |
PropertyDescriptor[] | getPropertyDescriptorsLazy () throws IntrospectionException |
EventSetDescriptor[] | getEventSetDescriptorsLazy () throws IntrospectionException |
MethodDescriptor[] | getMethodDescriptorsLazy () throws IntrospectionException |
String | getIconNameM16 () |
String | getIconNameM32 () |
String | getIconNameC16 () |
String | getIconNameC32 () |
int | getDefaultPropertyIndexLazy () |
int | getDefaultEventIndexLazy () |
Class | getSuperclass () |
EventSetDescriptor | createPropertyChangeEventSet (Class beanClass) throws IntrospectionException |
Static Protected Attributes | |
final PropertyDescriptor[] | EMPTY_PROPERTY_SET = new PropertyDescriptor[0] |
final MethodDescriptor[] | EMPTY_METHOD_SET = new MethodDescriptor[0] |
final EventSetDescriptor[] | EMPTY_EVENT_SET = new EventSetDescriptor[0] |
Private Member Functions | |
void | setActionsFromAdditionalBeanInfo () |
Private Attributes | |
java.awt.Image | iconColor16 |
java.awt.Image | iconColor32 |
java.awt.Image | iconMono16 |
java.awt.Image | iconMono32 |
BeanDescriptor | beanDescriptor |
PropertyDescriptor[] | propertyDescriptors |
EventSetDescriptor[] | eventSetDescriptors |
MethodDescriptor[] | methodDescriptors |
BeanInfo[] | additionalBeanInfos |
Static Private Attributes | |
final BeanInfo[] | EMPTY_BEAN_INFO_SET = new BeanInfo[0] |
Should be subclassed in order to overwrite the protected methods.
|
|
|
Returns a new
|
|
|
|
Gets the bean's
|
|
Returns the bean descriptor for this bean info.
|
|
A bean may have a "default" event that is the event that will mostly commonly be used by human's when using the bean.
|
|
Returns the index of the event. Default implementation returns -1.
|
|
A bean may have a "default" property that is the property that will mostly commonly be initially chosen for update by human's who are customizing the bean.
|
|
Returns the index of the default property. Default implementation returns -1.
|
|
Gets the bean's
|
|
Returns the event set descriptors for this bean info. Default implementation returns null which means that the Introspector will perform the introspection to get the EventSetDescriptors This method is guarantee to be called once
|
|
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc. Icon images will typically be GIFs, but may in future include other formats. Beans aren't required to provide icons and may return null from this method. There are four possible flavors of icons (16x16 color, 32x32 color, 16x16 mono, 32x32 mono). If a bean choses to only support a single icon we recommend supporting 16x16 color. We recommend that icons have a "transparent" background so they can be rendered onto an existing background.
|
|
Returns the name of the icon C16. Default implementation returns null.
|
|
Returns the name of the icon C32. Default implementation returns null.
|
|
Returns the name of the icon M16. Default implementation returns null.
|
|
Returns the name of the icon M32. Default implementation returns null.
|
|
Gets the bean's
|
|
Returns the method descriptors for this bean info. Default implementation returns null which means that the Introspector will perform the introspection to get the MethodDescriptors. This method is guarantee to be called once
|
|
Gets the bean's
|
|
Returns the property descriptors for this bean info. Default implementation returns null which means that the Introspector will perform the introspection to get the PropertyDescriptors This method is guarantee to be called once
|
|
Returns the superclass of the class this bean info is for. This is used in order to look for additional BeanInfo. Default implementation returns null which means that there is no additional BeanInfo
|
|
Sets the qname of available actions for this BeanInfo by getting the ones of all additional BeanInfos. |
|
cached additional beaninfos |
|
cached value if the bean descriptor |
|
|
|
Empty array of event set descriptor that you can return in |
|
Empty array of method descriptors that you can return in |
|
Empty array of property set that you can return in |
|
cached value if the event set descriptors |
|
cached value if the icon |
|
cached value if the icon |
|
cached value if the icon |
|
cached value if the icon |
|
cached value if the method descriptors |
|
cached value if the property descriptors |