eva/3 Application BuilderDeveloping eva/3 ApplicationsCommon InformationsCommon Properties 

Constraints

An attribute’s Constraints determine the position of a component and its ability to expand. An attribute’s constraints interact with the constraints of other components in the Layouts. When the Layout is null-Layout FlowLayout GridLayout or BoxLayout, no Contraints are available.

CardLayout

The CardLayout only has the name of the card as constraints value.

BorderLayout

If  BorderLayout is selected, the Constraints can be selected by a ComboBox

The following Constraints are available:
NORTH The component is placed at the top
SOUTH The component is placed at the bottom
WEST The component is placed on the left
EAST The component is placed on the left
CENTER The component is placed in the centert

GridBagLayout

Has the parent container a GridBagLayout, the Constraints of all components can be changed(s. fig. 76 )

Fig. 76: Constraints at GridBagLayout
Fig. 76: Constraints at GridBagLayout

The following Controls are available:
Leeren Clears the setting of the property and sets its dafult value
Setzen Sets the current selection
Components ComboBox  with the components of the parent container
Properties The properties of the selected component
Preview Preview to display the position and size of the components of the parent container
Remove Empty Cells Removes all Columns and Rows wich do not contain any components. They will be signed by red lines

At Preview and Components, the several components can be selected. The properteies will be shown and can be edited at Properties. The position of the compomponents in the grid can be changed by clicking and moving on the component.

The following properties for the Constraints are available:
Grid X Horizontal position of the component.
Grid Y Vertical position of the component
Grid Width Width of the components relative to other components
Grid Height Height of the components relative to other components
Weigh X Width, in percent, of the components relative to other components
Weight Y Height, in percent, of the components relative to other components
Fill Component expansion:
None Horizontal Vertical Both
Anchor The direction of the components:
North Northeast Page_Start First_Line_Start
South Southwest Page_End First_Line_End
West Southeast Line_Start Last_Line_Start
East Center Line_End Last_Line_End
Northwest
Internal Padding X Horizontal buffer between components in pixel
Internal Padding Y Vertical buffer between components in pixel
Insets Top Distance to the component above in pixel
Insets Left Distance to the component on the left in pixel
Insets Bottom Distance to the component below in pixel
Insets Right Distance to the component on the right in pixel