java.lang.Object | |
↳ | java.beans.SimpleBeanInfo |
Known Direct Subclasses |
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.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.beans.BeanInfo
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Claim there are no other relevant BeanInfo objects.
| |||||||||||
Deny knowledge about the class and customizer of the bean.
| |||||||||||
Deny knowledge of a default event.
| |||||||||||
Deny knowledge of a default property.
| |||||||||||
Deny knowledge of event sets.
| |||||||||||
Claim there are no icons available.
| |||||||||||
Deny knowledge of methods.
| |||||||||||
Deny knowledge of properties.
| |||||||||||
This is a utility method to help in loading icon images.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.beans.BeanInfo
|
Claim there are no other relevant BeanInfo objects. You may override this if you want to (for example) return a BeanInfo for a base class.
Deny knowledge about the class and customizer of the bean. You can override this if you wish to provide explicit info.
Deny knowledge of a default event. You can override this if you wish to define a default event for the bean.
Returns -1 if there is no default event.
Deny knowledge of a default property. You can override this if you wish to define a default property for the bean.
Returns -1 if there is no default property.
Deny knowledge of event sets. You can override this if you wish to provide explicit event set info.
Claim there are no icons available. You can override this if you want to provide icons for your bean.
iconKind | The kind of icon requested. This should be one of the constant values ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, or ICON_MONO_32x32. |
---|
Deny knowledge of methods. You can override this if you wish to provide explicit method info.
Deny knowledge of properties. You can override this if you wish to provide explicit property info.
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.
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.
resourceName | A pathname relative to the directory holding the class file of the current class. For example, "wombat.gif". |
---|