All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.beaninfo.JComponentBeanInfo

java.lang.Object
    |
    +----java.beans.SimpleBeanInfo
            |
            +----java.awt.swing.beaninfo.SwingBeanInfo
                    |
                    +----java.awt.swing.beaninfo.JComponentBeanInfo

public class JComponentBeanInfo
extends SwingBeanInfo
Descriptive information about the JComponent class for Java Beans application builders. This BeanInfo class provides descriptions of each property, of the bean itself, it indicates which JComponent properties are bound, and it provides other information and icons useful to builders.


Constructor Index

 o JComponentBeanInfo()

Method Index

 o getBeanDescriptor()
 o getIcon(int)
 o getPropertyDescriptors()
This method returns a list of bean PropertyDescriptors, one for each public property in JComponent.

Constructors

 o JComponentBeanInfo
public JComponentBeanInfo()

Methods

 o getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
Returns:
a JComponent BeanDescriptor
Overrides:
getBeanDescriptor in class SimpleBeanInfo
 o getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
This method returns a list of bean PropertyDescriptors, one for each public property in JComponent. The first property is the "default" property.

Returns:
a complete list of bean PropertyDescriptors for JComponent
Overrides:
getPropertyDescriptors in class SimpleBeanInfo
See Also:
SwingBeanInfo, getDefaultPropertyIndex
 o getIcon
public Image getIcon(int kind)
Returns:
an icon of the specified kind for JComponent
Overrides:
getIcon in class SwingBeanInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature