
Fig. 287: Bean Schema Overview
In the upper window area, the following settings can be made:
| Class | Defines the bean class with full class path. The bean class needs an empty default constructor. There can be used own classes as existing bean classes like javax.swing.JList |
| Icon | Defines the project path of the icons. The image formats .gif and .jpg are supported |
| Container size | Defiens the number of components that can be inserted, when bean class is a container. The value 0 allows not to add components, the value -1 allows to add any components |
| Default width | Defines the default with of the component, after inserting it in the Form- or Report editor |
| Default height | Defines the default height of the component, after inserting it in the Form- or Report editor |
In the lower window area, the properties of the component can be specified:
A new propertie can be added by the toolbar button
and can be removed by
the toolbar button
.
| Property | Defines the naem of the propetie, that will be used in the Properties dialog of the Form- or Report editor. The name of the Getter and Setter methods of the bean class must correspond to the name of the property |
| Klasse | Defines the class of the property |
| Seite | Defines the page (Main, View, ...), on wich the property will be assigned to in the Properties dialog of the Form- or Report editor zugeordnet wird |
| Converter | Reference on the Converter of the property |
| Renderer | Reference on the Renderer of the property |
| Editor | Reference on the Editor of the property |
Note: The property Constraints will be added automatically to the properties of the component and and should not be added to the Property column of the bean shema.
The Overviewshows the Converter-, Renderer- and Editor-classes, used by eva/3 Application Builder ..
The converter is be used to file property values of the bean class as text in th XML strukture. A new Converter-Klasse must implement the interface Converter.
The converter editor can be reached by selecting the register (s. fig. 288 ).
| Reference name | The Reference name allows to reference the field Converter in the overview of the Bean Schema Editors. There, the Reference name of the converter can be entered |
| Reference value | Defines the converter class with full qualified class path |
eva/3 Application Builder has predefined Converter classes that can be entered in the field Reference value.
The renderer class is used to display the property value.This value can e.g. represented by a text or a check box. A new Renderer-Klasse should extend the class AbstractGroupRenderer.
The render editor can be reached by selecting the register (s. fig. 288 ).
| Reference name | The Reference name allows to reference the field Renderer in the overview of the Bean Schema Editors. There, the Reference name of the renderer can be entered |
| Reference value | Defines the renderer class with full qualified class path |
eva/3 Application Builder has predefined Renderer classes that can be enterd in the field Reference valuet.
The editor class is used to edit property values in the Properties dialog of the form editor. A new Editor class should extend the class SimpleGroupEditor.
The editor editor can be reached by selecting the register (s. fig. 288 ).
| Reference name | The Reference name allows to reference the field Editor in the overview of the Bean Schema Editors. There, the Reference name of the editor can be entered |
| Reference value | Defines the editor class with full qualified class path |
eva/3 Application Builder has predefined Editor classes that can be entered in the field Referenz value.