Java™ Platform
Standard Ed. 8
java.beans
Interface BeanInfo
-
-
Field Summary
Fields
| Modifier and Type |
Field |
Description |
static int |
ICON_COLOR_16x16 |
Constant to indicate a 16 x 16 color icon.
|
static int |
ICON_COLOR_32x32 |
Constant to indicate a 32 x 32 color icon.
|
static int |
ICON_MONO_16x16 |
Constant to indicate a 16 x 16 monochrome icon.
|
static int |
ICON_MONO_32x32 |
Constant to indicate a 32 x 32 monochrome icon.
|
-
Method Summary
All Methods Instance Methods Abstract Methods
| Modifier and Type |
Method |
Description |
BeanInfo[] |
getAdditionalBeanInfo() |
This method enables the current BeanInfo object
to return an arbitrary collection of other BeanInfo objects
that provide additional information about the current bean.
|
BeanDescriptor |
getBeanDescriptor() |
Returns the bean descriptor
that provides overall information about the bean,
such as its display name or its customizer.
|
int |
getDefaultEventIndex() |
A bean may have a default event typically applied when this bean is used.
|
int |
getDefaultPropertyIndex() |
A bean may have a default property commonly updated when this bean is customized.
|
EventSetDescriptor[] |
getEventSetDescriptors() |
Returns the event descriptors of the bean
that define the types of events fired by this bean.
|
Image |
getIcon(int iconKind) |
Returns an image that can be used to represent the bean in toolboxes or toolbars.
|
MethodDescriptor[] |
getMethodDescriptors() |
Returns the method descriptors of the bean
that define the externally visible methods supported by this bean.
|
PropertyDescriptor[] |
getPropertyDescriptors() |
Returns descriptors for all properties of the bean.
|
-
-
Method Detail
-
getBeanDescriptor
BeanDescriptor getBeanDescriptor()
Returns the bean descriptor
that provides overall information about the bean,
such as its display name or its customizer.
- Returns:
- a
BeanDescriptor object,
or null if the information is to
be obtained through the automatic analysis
Java™ Platform
Standard Ed. 8
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.