This is one of the kinds of descriptor returned by a BeanInfo object, which also returns descriptors for properties, method, and events.
Create a BeanDescriptor for a bean that doesn't have a customizer.parambeanClass The Class object of the Java class that implements the bean. For example sun.beans.OurButton.class. this(beanClass, null);
this(beanClass, null);
Create a BeanDescriptor for a bean that has a customizer.parambeanClass The Class object of the Java class that implements the bean. For example sun.beans.OurButton.class.paramcustomizerClass The Class object of the Java class that implements the bean's Customizer. For example sun.beans.OurButtonCustomizer.class. beanClassRef = createReference(beanClass); customizerClassRef = createReference(customizerClass); String name = beanClass.getName(); while (name.indexOf('.") >= 0) { name = name.substring(name.indexOf('.")+1); } setName(name);
beanClassRef = createReference(beanClass); customizerClassRef = createReference(customizerClass); String name = beanClass.getName(); while (name.indexOf('.") >= 0) { name = name.substring(name.indexOf('.")+1); } setName(name);
super(old); beanClassRef = old.beanClassRef; customizerClassRef = old.customizerClassRef;
Gets the bean's Class object.returnThe Class object for the bean. return (Class)getObject(beanClassRef);
return (Class)getObject(beanClassRef);
Gets the Class object for the bean's customizer.returnThe Class object for the bean's customizer. This may be null if the bean doesn't have a customizer. return (Class)getObject(customizerClassRef);
return (Class)getObject(customizerClassRef);