This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.beans
class SimpleBeanInfo
- All Implemented Interfaces:
- BeanInfo
public class SimpleBeanInfo
extends Object
implements BeanInfo
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.
Method Summary |
BeanInfo[] |
Claim there are no other relevant BeanInfo objects.
|
BeanDescriptor |
Deny knowledge about the class and customizer of the bean.
|
int |
Deny knowledge of a default event.
|
int |
Deny knowledge of a default property.
|
EventSetDescriptor[] |
Deny knowledge of event sets.
|
Image |
Claim there are no icons available.
|
MethodDescriptor[] |
Deny knowledge of methods.
|
PropertyDescriptor[] |
Deny knowledge of properties.
|
Image |
This is a utility method to help in loading icon images.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBeanInfo
public SimpleBeanInfo()
-
getAdditionalBeanInfo
public BeanInfo[] getAdditionalBeanInfo()
-
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.
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
-
Deny knowledge about the class and customizer of the bean.
You can override this if you wish to provide explicit info.
getDefaultEventIndex
public int getDefaultEventIndex()
-
Deny knowledge of a default event. You can override this
if you wish to define a default event for the bean.
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.
getEventSetDescriptors
public EventSetDescriptor[] getEventSetDescriptors()
-
Deny knowledge of event sets. You can override this
if you wish to provide explicit event set info.
getIcon
public Image getIcon(int iconKind)
-
Claim there are no icons available. You can override
this if you want to provide icons for your bean.
- Parameters:
iconKind
getMethodDescriptors
public MethodDescriptor[] getMethodDescriptors()
-
Deny knowledge of methods. You can override this
if you wish to provide explicit method info.
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
-
Deny knowledge of properties. You can override this
if you wish to provide explicit property info.
loadImage
public Image loadImage(String resourceName)
-
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".
- Returns:
- an image object. May be null if the load failed.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.