Tag Usage, Class Level (@JavaBean)

Tags for declaration of JavaBean BeanInfo classes

@javabean.class (0..1)

Used to specify class related information of JavaBean BeanInfo

Parameter Type Applicability Description Mandatory
name text Name of the JavaBean (typically the unqualified className) true
class text Class name of real bean false
displayName text The name displayed for the JavaBean false
shortDescription text A short description about the JavaBean false
defaultProperty text The default property of the JavaBean false
expert bool Is the JavaBean used in expert mode ? false
hidden bool Is the JavaBean hidden ? false
preferred bool Is the JavaBean preferred ? false
customizer text Fully qualified class name of the JavaBean customizer false
stopClass text Fully qualified class name of the JavaBean ancestor used to stop introspection for additionnal informations false

@javabean.icons (0..1)

Defines the icons used for the visual aspect of the JavaBean.

Parameter Type Applicability Description Mandatory
mono16 text Absolute or relative resource name for the monochrome icon of 16x16 pixels false
color16 text Absolute or relative resource name for the color icon of 16x16 pixels false
mono32 text Absolute or relative resource name for the monochrome icon of 32x32 pixels false
color32 text Absolute or relative resource name for the color icon of 32x32 pixels false

@javabean.attribute (0..*)

Defines the attributes of the JavaBean (propertyorder, etc).

Parameter Type Applicability Description Mandatory
name text Name of the attribute true
value text Value of the attribute true
rtexpr bool Is the value a Java expression? false

Tag Usage, Method Level (@JavaBean)

Tags for declaration of JavaBean BeanInfo classes

@javabean.property (0..1)

Defines the JavaBean property found by introspection

Parameter Type Applicability Description Mandatory
displayName text The name displayed for the property false
shortDescription text A short description about the property false
expert bool Is the property used in expert mode ? false
hidden bool Is the property hidden ? false
preferred bool Is the property preferred ? false
bound bool Is the property bound ? false
constrained bool Is the property constrained ? false
propertyEditor text Fully qualified class name of the PropertyEditor used to edit the property false
readOnly bool Is the JavaBean property read-only ? false

@javabean.method (0..*)

Defines the JavaBean method found by introspection

Parameter Type Applicability Description Mandatory
name text Name of the method true
displayName text The name displayed for the method false
shortDescription text A short description about the method false
expert bool Is the method used in expert mode ? false
hidden bool Is the method hidden ? false
preferred bool Is the method preferred ? false

@javabean.param (0..*)

Defines for each JavaBean method its parameters

Parameter Type Applicability Description Mandatory
name text Name of the parameter true
displayName text The name displayed for the parameter false
shortDescription text A short description about the parameter false
propertyEditor text Fully qualified class name of the PropertyEditor used to edit the parameter false