Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Scout/Concepts/GroupBox
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
Type of composite field to group other fields.
Description
The GroupBox is a composite field to group Fields.
The GroupBox can have a title and one of 4 different designs:
- Default: The default design of a GroupBox
- Empty: No border and no title
- Line: Same as Default
- Section: The content can be hidden
Screenshot
RAP | SWT | Swing | Swing Rayo |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Properties
Defined with getConfiguredXxxxxx() methods.
See also the Field and the Composite field pages for the properties that all fields have in common.
Layout
You can control the Layout with the property BodyGrid. The default layout is vertical (first column top down and then next columns).
Corresponding code snippet:
protected Class<? extends IGroupBoxBodyGrid> getConfiguredBodyGrid() { return VerticalSmartGroupBoxBodyGrid.class; }
An other Layout provided by Scout is horizontal (first row left to right and then next rows).
Corresponding code snippet:
protected Class<? extends IGroupBoxBodyGrid> getConfiguredBodyGrid() { return HorizontalGroupBoxBodyGrid.class; }
Events
Defined with execXxxxxx() methods.
See also the Field and the Composite field pages for the events that all fields have in common.