java.beans
Class SimpleBeanInfo

This is a support class to make it easier for people to provide
BeanInfo classes.

It defaults to providing "noop" information, and can be selectively
overriden to provide more explicit information on chosen topics.
When the introspector sees the "noop" values, it will apply low
level introspection and design patterns to automatically analyze
the target bean.

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.

getDefaultPropertyIndex

public int getDefaultPropertyIndex()

Deny knowledge of a default property. You can override this
if you wish to define a default property for the bean.

loadImage

This is a utility method to help in loading icon images.
It takes the name of a resource file associated with the
current object's class file and loads an image object
from that file. Typically images will be GIFs.

Parameters:

resourceName - A pathname relative to the directory
holding the class file of the current class. For example,
"wombat.gif".

Submit a bug or featureFor further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.