public class

ComponentBeanInfo

extends SimpleBeanInfo
java.lang.Object
   ↳ java.beans.SimpleBeanInfo
     ↳ sun.beans.infos.ComponentBeanInfo

Class Overview

BeanInfo descriptor for a standard AWT component.

Summary

[Expand]
Inherited Constants
From interface java.beans.BeanInfo
Public Constructors
ComponentBeanInfo()
Public Methods
PropertyDescriptor[] getPropertyDescriptors()
Deny knowledge of properties.
[Expand]
Inherited Methods
From class java.beans.SimpleBeanInfo
From class java.lang.Object
From interface java.beans.BeanInfo

Public Constructors

public ComponentBeanInfo ()

Public Methods

public PropertyDescriptor[] getPropertyDescriptors ()

Deny knowledge of properties. You can override this if you wish to provide explicit property info.

Returns
  • An array of PropertyDescriptors describing the editable properties supported by this bean. May return null if the information should be obtained by automatic analysis.

    If a property is indexed, then its entry in the result array will belong to the IndexedPropertyDescriptor subclass of PropertyDescriptor. A client of getPropertyDescriptors can use "instanceof" to check if a given PropertyDescriptor is an IndexedPropertyDescriptor.