java.beans.FeatureDescriptor (JDK 1.1)
The FeatureDescriptor class is the base class for MethodDescriptor and PropertyDescriptor, as well as other classes used by the JavaBeans introspection mechanism. It provides basic information about a feature (method, property, event, etc.) of a bean. Typically, the methods that begin with get and is are used by application builders or other tools to query the features of a bean. The set methods, on the other hand, may be used by bean authors to define information about the bean.
setName() specifies the locale-independent, programmatic name of the feature. setDisplayName() specifies a localized, human-readable name. setShortDescription() specifies a short localized string (about 40 characters) that describes the feature. Both the short description and the localized name default to the value of the programmatic name. setExpert() and setHidden() allow you to indicate that the feature is for use only by experts, or for use only by the builder tool, and should be hidden from users of the builder. Finally, the setValue() method allows you to associate an arbitrary named value with the feature.
public classFeatureDescriptorextends Object { //Public ConstructorpublicFeatureDescriptor(); //Public Instance Methodspublic EnumerationattributeNames(); public StringgetDisplayName(); public StringgetName(); public StringgetShortDescription(); public ObjectgetValue(StringattributeName); public booleanisExpert(); public booleanisHidden(); public voidsetDisplayName(StringdisplayName); public voidsetExpert(booleanexpert); public voidsetHidden(booleanhidden); public voidsetName(Stringname); public voidsetShortDescription(Stringtext); public voidsetValue(StringattributeName, Objectvalue); }
Extended By:
BeanDescriptor, EventSetDescriptor, MethodDescriptor, ParameterDescriptor, PropertyDescriptor