Tag Reference for @JavaBean

Tags for declaration of JavaBean BeanInfo classes

Field Level Tags

Tag Usage, Class Level (@JavaBean)

@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 ?
Valid options are:

true

false

Default value(s):

false
false
hidden bool Is the JavaBean hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferred bool Is the JavaBean preferred ?
Valid options are:

true

false

Default value(s):

false
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?
Valid options are:

true

false

Default value(s):

false
false

Tag Usage, Method Level (@JavaBean)

@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 ?
Valid options are:

true

false

Default value(s):

false
false
hidden bool Is the property hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferred bool Is the property preferred ?
Valid options are:

true

false

Default value(s):

false
false
bound bool Is the property bound ?
Valid options are:

true

false

Default value(s):

false
false
constrained bool Is the property constrained ?
Valid options are:

true

false

Default value(s):

false
false
propertyEditor text Fully qualified class name of the PropertyEdit or used to edit the property false
readOnly bool Is the JavaBean property read-only ?
Valid options are:

true

false

Default value(s):

false
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 ?
Valid options are:

true

false

Default value(s):

false
false
hidden bool Is the method hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferred bool Is the method preferred ?
Valid options are:

true

false

Default value(s):

false
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