@JavaBean Tag Reference

Tags for declaration of JavaBean BeanInfo classes

Applies to: JavaBeans

@JavaBean Field Level Tags

@JavaBean Class Level Tag Usage

@javabean.attribute (0..*)

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

Applies to: JavaBeans

ParameterTypeApplicabilityDescriptionMandatory
nametextName of the attributetrue
valuetextValue of the attributetrue
rtexprboolIs the value a Java expression?
Valid options are:

true

false

Default value(s):

false
false

@javabean.class (0..1)

Used to specify class related information of JavaBean BeanInfo

Applies to: JavaBeans

ParameterTypeApplicabilityDescriptionMandatory
nametextName of the JavaBean (typically the unqualified className)true
classtextClass name of real beanfalse
displayNametextThe name displayed for the JavaBeanfalse
shortDescriptiontextA short description about the JavaBeanfalse
defaultPropertytextThe default property of the JavaBeanfalse
expertboolIs the JavaBean used in expert mode ?
Valid options are:

true

false

Default value(s):

false
false
hiddenboolIs the JavaBean hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferredboolIs the JavaBean preferred ?
Valid options are:

true

false

Default value(s):

false
false
customizertextFully qualified class name of the JavaBean customizerfalse
stopClasstextFully qualified class name of the JavaBean ancestor used to stop introspection for additionnal informationsfalse

@javabean.icons (0..1)

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

Applies to: JavaBeans

ParameterTypeApplicabilityDescriptionMandatory
mono16textAbsolute or relative resource name for the monochrome icon of 16x16 pixelsfalse
color16textAbsolute or relative resource name for the color icon of 16x16 pixelsfalse
mono32textAbsolute or relative resource name for the monochrome icon of 32x32 pixelsfalse
color32textAbsolute or relative resource name for the color icon of 32x32 pixelsfalse

@JavaBean Method Level Tag Usage

@javabean.method (0..*)

Defines the JavaBean method found by introspection

Applies to: JavaBeans

ParameterTypeApplicabilityDescriptionMandatory
nametextName of the methodtrue
displayNametextThe name displayed for the methodfalse
shortDescriptiontextA short description about the methodfalse
expertboolIs the method used in expert mode ?
Valid options are:

true

false

Default value(s):

false
false
hiddenboolIs the method hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferredboolIs the method preferred ?
Valid options are:

true

false

Default value(s):

false
false

@javabean.param (0..*)

Defines for each JavaBean method its parameters

Applies to: JavaBeans

ParameterTypeApplicabilityDescriptionMandatory
nametextName of the parametertrue
displayNametextThe name displayed for the parameterfalse
shortDescriptiontextA short description about the parameterfalse
propertyEditortextFully qualified class name of the PropertyEditor used to edit the parameterfalse

@javabean.property (0..1)

Defines the JavaBean property found by introspection

Applies to: getter method of java bean

ParameterTypeApplicabilityDescriptionMandatory
displayNametextThe name displayed for the propertyfalse
shortDescriptiontextA short description about the propertyfalse
expertboolIs the property used in expert mode ?
Valid options are:

true

false

Default value(s):

false
false
hiddenboolIs the property hidden ?
Valid options are:

true

false

Default value(s):

false
false
preferredboolIs the property preferred ?
Valid options are:

true

false

Default value(s):

false
false
boundboolIs the property bound ?
Valid options are:

true

false

Default value(s):

false
false
constrainedboolIs the property constrained ?
Valid options are:

true

false

Default value(s):

false
false
propertyEditortextFully qualified class name of the PropertyEditor used to edit the propertyfalse
readOnlyboolIs the JavaBean property read-only ?
Valid options are:

true

false

Default value(s):

false
false
gettertextThe name of the getter method for this propertyfalse
settertextThe name of the setter method for this propertyfalse

@JavaBean Field Level Tag Usage