|
|
(24 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | [[Category:Scout]]
| + | The Scout documentation has been moved to https://eclipsescout.github.io/. |
− | {{ScoutPage|cat=Concepts}}
| + | |
− | | + | |
− | The Concepts pages define concepts and elements used in the Eclipse Scout Framework. | + | |
− | | + | |
− | == Abstract ==
| + | |
− | Scout provides a generic layout on any composite fields as:
| + | |
− | * {{ScoutLink|Concepts|GroupBox|GroupBox}}
| + | |
− | * {{ScoutLink|Concepts|TabBox|TabBox}}
| + | |
− | * {{ScoutLink|Concepts|SequenceBox|SequenceBox}}
| + | |
− | * {{ScoutLink|Concepts|SplitBox|SplitBox}}
| + | |
− | * {{ScoutLink|Concepts|RadioButtonGroup|RadioButtonGroup}}
| + | |
− | | + | |
− | The layout is mainly related to a grid layout with some additional features as <b>weight related resize behavior</b> and <b>some optimizations reducing the used space</b>. There are currently a horizontal and a vertical implementation of the grid layout.
| + | |
− | | + | |
− | == Layout properties ==
| + | |
− | | + | |
− | === Groupbox Properties ===
| + | |
− | The following group box properties affect the layout of the container. So the fields in the container getting layouted respecting the properties.
| + | |
− | | + | |
− | {|{{BMTableStyle}}
| + | |
− | |-{{BMTHStyle}} valign="top"
| + | |
− | ! Config method
| + | |
− | ! Meaning
| + | |
− | ! Default value
| + | |
− | |-
| + | |
− | | getConfiguredBodyGrid
| + | |
− | | The layout orientation vertical vs. horizontal. Scout provides two layout strategies:
| + | |
− | * Vertical(<code>VerticalSmartGroupBoxBodyGrid</code>) The fields are placed column first in the grid. (Field01 [x0,y0]; Field02 [x0,y1]...)
| + | |
− | * Horizontal (<code>HorizontalGroupBoxBodyGrid</code>) The fields are placed row first in the grid. (Field01 [x0,y0]; Field02 [x1,y0]...)
| + | |
− | | VerticalSmartGroupBoxBodyGrid.class
| + | |
− | |-
| + | |
− | | getConfiguredColumnCount
| + | |
− | | Column count of the layout where child fields are placed in respective to their layout data.
| + | |
− | | -1 Will be replaced with either the parent groupbox column count or if any of the parent group boxes has a grid column count 2.
| + | |
− | |-
| + | |
− | |}
| + | |
− | | + | |
− | | + | |
− | === Form Field Properties ===
| + | |
− | The form field properties define how a certain form field has to be layout in its container.
| + | |
− | | + | |
− | {|{{BMTableStyle}}
| + | |
− | |-{{BMTHStyle}}
| + | |
− | ! Config method
| + | |
− | ! Meaning
| + | |
− | |-
| + | |
− | | getConfiguredGridX || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridY || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridW || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridH || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridWeightX || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridWeightY || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridUseUiWidth || desc
| + | |
− | |-
| + | |
− | | getConfiguredGridUseUiHeight || desc
| + | |
− | |-
| + | |
− | |}
| + | |
− | | + | |
− | == Layout Inspector==
| + | |