This is one of the kinds of descriptor returned by a BeanInfo object, which also returns descriptors for properties, method, and events.
| Modifier and Type | Field and Description |
|---|---|
| private Reference | |
| private Reference |
| Access | Constructor and Description |
|---|---|
| public | BeanDescriptor(Class<?>
The Class object of the Java class that implements
the bean. For example sun.beans.OurButton.class. beanClass)Create a BeanDescriptor for a bean that doesn't have a customizer. |
| public | BeanDescriptor(Class<?>
The Class object of the Java class that implements
the bean. For example sun.beans.OurButton.class. beanClass, Class<?> The Class object of the Java class that implements
the bean's Customizer. For example sun.beans.OurButtonCustomizer.class. customizerClass)Create a BeanDescriptor for a bean that has a customizer. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public Class | |
| public Class | Returns: The Class object for the bean's customizer. This may be null if the bean doesn't have a customizer.Gets the Class object for the bean's customizer. |
| beanClassRef | back to summary |
|---|---|
| private Reference<? extends Class<?>> beanClassRef | |
| customizerClassRef | back to summary |
|---|---|
| private Reference<? extends Class<?>> customizerClassRef | |
| BeanDescriptor | back to summary |
|---|---|
| public BeanDescriptor(Class<?> beanClass) Create a BeanDescriptor for a bean that doesn't have a customizer.
| |
| BeanDescriptor | back to summary |
|---|---|
| public BeanDescriptor(Class<?> beanClass, Class<?> customizerClass) Create a BeanDescriptor for a bean that has a customizer. | |
| BeanDescriptor | back to summary |
|---|---|
| pack-priv BeanDescriptor(BeanDescriptor old) | |
| appendTo | back to summary |
|---|---|
| pack-priv void appendTo(StringBuilder sb) Overrides java.
| |
| getBeanClass | back to summary |
|---|---|
| public Class Gets the bean's Class object.
| |
| getCustomizerClass | back to summary |
|---|---|
| public Class Gets the Class object for the bean's customizer.
| |