@Retention(value=RUNTIME) public static @interface BeanInfo.Attribute
BeanDescriptor and PropertyDescriptor.
 Each attributes consists of a name and a value (one of
 stringValue(), classValue(), booleanValue(), charValue(),
 byteValue(), shortValue(), intValue(), longValue(),
 floatValue(), doubleValue(), stringArrayValue()
 or classArrayValue()).
 Only one of the *value attributes must be specified.
 
 Example for specifying this annotation in a PropertyDesc annotation:
 
 @PropertyDesc(attributes={
     @Attribute(name="readOnly", booleanValue=true),
     @Attribute(name="notRestoreDefault", booleanValue=true),
 })
 public int getSomething() {
     return something;
 }
 
 See https://www.formdev.com/jformdesigner/doc/java-beans/#beaninfo
 for a list of attributes supported by JFormDesigner.BeanInfo.attributes(), 
PropertyDesc.attributes()| Modifier and Type | Required Element and Description | 
|---|---|
| String | nameThe name of the attribute. | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | booleanValueBoolean value of the attribute. | 
| byte | byteValueByte value of the attribute. | 
| char | charValueCharacter value of the attribute. | 
| Class<?>[] | classArrayValueClass array value of the attribute. | 
| Class<?> | classValueClass value of the attribute. | 
| double | doubleValueDouble value of the attribute. | 
| float | floatValueFloat value of the attribute. | 
| int | intValueInteger value of the attribute. | 
| long | longValueLong value of the attribute. | 
| short | shortValueShort value of the attribute. | 
| String[] | stringArrayValueString array value of the attribute. | 
| String | stringValueString value of the attribute. | 
public abstract String name
public abstract String stringValue
public abstract Class<?> classValue
public abstract long longValue
public abstract float floatValue
public abstract String[] stringArrayValue
public abstract Class<?>[] classArrayValue
Copyright (C) 2004-2019 FormDev Software GmbH. All rights reserved.