org.apache.beehive.controls.api.packaging
Annotation Type FeatureInfo
@Target(value={TYPE,METHOD})
public @interface FeatureInfo
The FeatureInfo annotation type defines a JSR-175 syntax for annotating a Control to
provide BeanInfo FeatureDescriptor information for the bean, its properties, methods,
or events.
The elements of FeatureInfo correspond 1-to-1 with the information exposed by the
java.beans.FeatureDescriptor
class.
- See Also:
FeatureDescriptor
displayName
public abstract String displayName
- Default:
- ""
name
public abstract String name
- Default:
- ""
shortDescription
public abstract String shortDescription
- Default:
- ""
isExpert
public abstract boolean isExpert
- Default:
- false
isHidden
public abstract boolean isHidden
- Default:
- false
isPreferred
public abstract boolean isPreferred
- Default:
- false
attributes
public abstract FeatureAttribute[] attributes
- Default:
- {}