Screen_SplitterLayout
SplitterLayout
Properties
caption : CaptionTypeString indentifier for caption display in the UI.
Valid values based on“string”. 80 (maxLength) Caption can be a maximum of 80 characters long.
case : stringA space separated list of metaclass names, primitive values or 'null' used to drive polymorphic display.
The case part of a polymorphic form switch. This is conceptually similar to a JAVA switch, but for UI. The value property of a parent GroupLayout contains the expression that the cases are evaluated against. If this resolves to a non-primitive, the cases are compared against the non-primitive's class type. Note: The class, all subclasses, and the 'null' case should be handled. If it resolves to a primitive, the cases are compared directly with the value. Note: All possible values and the 'null' case should be handled. That being said Enumerated values and booleans are most appropriate. All possible values must be covered by the cases - there is no 'else' case. Within the GroupLayout the cases are checked from left to right. The first Layout to match will be the one to display.- Example
Non-primitive case: The parent Grouplayout value property is set to EntityList. This is
a View Path to the the EntityList form. There are three child Layouts with cases of
1. null 2. Person UserPerson 3. Company. The currently selected instance in the model of
the EntityList form will determine which Layout will display. If an instance of Company
is selected in the EntityList then Layout 3 displays.
Primitive case: The parent GroupLayout value property is set to EntityList isPerson.
This is a View Path to the EntityList form and an Association Path to the isPerson attribute.
There again are three child Layouts with cases of 1. null 2. #t 3. #f. As
we move through the EntityList the Layouts will dynamically display based on the values in case.- See
- GroupLayout'value and the Person.screen detail GroupLayout
control : identifierThe control type this should be rendered with.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
enabled : stringThe attribute, association path, or a constant returning boolean to set enablement.
horizontalMargin : intHorizontal space the table is from external elements. Must be an integer.
horizontalSpacing : intHorizontal space each cell is from eachother. Must be an integer.
icon : stringIcon provides a means of visual recognition for the SplitterLayout.
locale : stringThe locale for the GroupLayout. Must be a two letter abbreviation.
- Example
en, fr, de for English, French, and Dutch respectively
menu : identifierListThe SplitterLayout's main menu. Must refer to an existing Menu in the parent's collection of Menus.
Valid values based on“token”. (:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*\s+)*(:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*)? Each element in the list must begin with a letter or underscore. Elements are space delimited.
name : uiIdentifierUniquely indentifies the SpliterLayout.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter. Case and length are not restricted. Letters and numbers are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
style : stringStyle for the SpliterLayout.
toolbar : identifierListThe SplitterLayout's main toolbar. Must refer to an existing Menu in the parent's collection of Menus.
Valid values based on“token”. (:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*\s+)*(:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*)? Each element in the list must begin with a letter or underscore. Elements are space delimited.
tooltip : stringThe attribute, association path, or a constant specifying tooltip.
treeNodes : identifierListTODO: comment attribute treeNodes
Valid values based on“token”. (:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*\s+)*(:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*)? Each element in the list must begin with a letter or underscore. Elements are space delimited.
type : SplitterKindSpecifies the type of SpliterLayout, such as horizonal or vertical.
Valid values based on“string”. horizontal vertical verticalMargin : intVertical space the table is from external elements. Must be an integer.
verticalSpacing : intVertical space each cell is from eachother. Must be an integer.
visible : stringThe attribute, association path, or a constant returning boolean to set visibility.
Content
Choice of:
Filler [1..1] - A presentation layer filler element
t_SplitterLayoutType_Holder [1..1]
Parents
Screen - Classic Presentation Screens group forms together visually and functionally. It represents one piece of functionality within an application. (deprecated)
Filler
A presentation layer filler element
Parent topic: Screen