public class BeanDescriptor extends FeatureDescriptor
这是一个广义的种类一个BeanInfo对象返回,并返回描述符的属性、方法和事件。
Constructor and Description |
---|
BeanDescriptor(类<?> beanClass)
创建一个bean没有定制beandescriptor。
|
BeanDescriptor(类<?> beanClass, 类<?> customizerClass)
创建一个bean有一个定制beandescriptor。
|
Modifier and Type | Method and Description |
---|---|
类<?> |
getBeanClass()
获取豆的类对象。
|
类<?> |
getCustomizerClass()
获取bean的定制类对象。
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
public BeanDescriptor(类<?> beanClass)
beanClass
-实现bean的java类的类对象。例如sun.beans.ourbutton.class。
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, 2014, Oracle and/or its affiliates. All rights reserved.