@Property public class FooProperty1TestBean { @Caption public static final String CAPTION = "Foo Property"; @Description public static final String DESCRIPTION = "description"; @Optional public final boolean optional = true; @ReadOnly public final boolean ro = false; @Value public String value; public FooProperty1TestBean(String value) { this.value = value; } }
@Property public class FooProperty2TestBean { @Caption public static final String CAPTION = "Foo Proeprty 2"; @Description public static final String DESCRIPTION = "description 2"; // Doesn't makes sense, but it's just for testing an adapter unit of work. @Type public static final PropertyType type = new BooleanType(); @Value public String value; public FooProperty2TestBean(String value) { this.value = value; } }
public class FontColor { @Caption @FieldLabel public static final transient String caption = "Font Color"; public static final transient String description = "The Font Color"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new ColorType(); @DefaultValue public static final transient String defaultValue = "#000000"; @Value @FieldValue private String value = defaultValue;
public class FontBorderColor { @Caption @FieldLabel public static final transient String caption = "Font Boder Color"; public static final transient String description = "The font border color"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new ColorType(); @DefaultValue public static final transient String defaultValue = "#000000"; @Value @FieldValue private String value = defaultValue;
public class OuterRadius { @Caption @FieldLabel public static final transient String caption = "Outer Radius"; public static final transient String description = "The outer radius"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 25d; @Value @FieldValue private Double value = defaultValue;
public class Name { @Caption @FieldLabel public static final transient String caption = "Name"; public static final transient String description = "The name"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new StringType(); @DefaultValue public static final transient String defaultValue = "My name"; @Value @FieldValue private String value = defaultValue;
public class FontFamily { @Caption @FieldLabel public static final transient String caption = "Font Family"; public static final transient String description = "The Font Family"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new StringType(); @DefaultValue public static final transient String defaultValue = "Verdana"; @Value @FieldValue private String value = defaultValue;
public class FontSize { @Caption @FieldLabel public static final transient String caption = "Font size"; public static final transient String description = "The Font size."; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 11d; @Value @FieldValue private Double value = defaultValue;
public class Width { @Caption @FieldLabel public static final transient String caption = "width"; public static final transient String description = "The width"; @Type public static final PropertyType type = new DoubleType(); @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @DefaultValue public static final Double defaultValue = 50d; @Value @FieldValue private Double value = defaultValue;
public class BgColor { @Caption @FieldLabel public static final transient String caption = "Background Color"; public static final transient String description = "The Background Color"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new ColorType(); @DefaultValue public static final transient String defaultValue = "#ffffff"; @Value @FieldValue private String value = defaultValue;
public class FontBorderSize { @Caption @FieldLabel public static final transient String caption = "Font border size"; public static final transient String description = "The font border size"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 0.5d; @Value @FieldValue private Double value = defaultValue;
public class Height { @Caption @FieldLabel public static final transient String caption = "Height"; public static final transient String description = "The height"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 50d; @Value @FieldValue private Double value = defaultValue;
public class BorderSize { @Caption @FieldLabel public static final transient String caption = "Border Size"; public static final transient String description = "The Border Size"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 0.5d; @Value @FieldValue private Double value = defaultValue;
public class BorderColor { @Caption @FieldLabel public static final transient String caption = "Border Color"; public static final transient String description = "The Border Color"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new ColorType(); @DefaultValue public static final transient String defaultValue = "#000000"; @Value @FieldValue private String value = defaultValue;
public class InnerRadius { @Caption @FieldLabel public static final transient String caption = "Inner Radius"; public static final transient String description = "The inner radius"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 15d; @Value @FieldValue private Double value = defaultValue;
public class Radius { @Caption @FieldLabel public static final transient String caption = "Radius"; public static final transient String description = "The radius"; @ReadOnly @FieldReadOnly public static final Boolean readOnly = false; @Optional public static final Boolean optional = false; @Type public static final PropertyType type = new DoubleType(); @DefaultValue public static final Double defaultValue = 25d; @Value @FieldValue private Double value = defaultValue;