|
|
|
The Model-Driven System Builder
|
|
JeeWiz Architect's Guide
|
|
|
|
Contents >
15. 'Screen' Reference
|
|
|
15.22 Widget Object
| Used on |
|
| Description | Used by any model-object that will be rendered on a page using layout information. Where objects are rendered on the page
is determined by the section, the column and row number.
The section refers to a district on the page usually:
top, left, centre, right, bottom.
The column refers to the column number within the section. Similarly the row refers to the row number within the section.
|
Contained Lists |
| 1 |
| Name | style |
| Type | String |
| Description | You can specify one or more styles to give information to the code generation scripts.
The meaning of the styles is up to the script writer.
The styles can be used as flags by the script calling
$styleList.contains( "styleOfInterest" )
[ Currently, there is no built-in support for style="styleType=value" type semantics.
This would have to be defined by each script writer.
]
Examples of the use of styles:
- characteristics of a web page (e.g. should it be included in one of the menus)
- whether an entity should be automatically mapped to a data-view (the 'maintain' style).
Note that styles and the 'group' property are different concepts, and therefore complimentary.
Many modelling objects - such as data-views and their fields, or business methods - can be put into groups as a hint as to where to render the UI pages.
Typically groups are used to define 'where' to place the meta class, whereas styles indicate how to render the object.
|
| Unique | false |
|
|
Inherited properties |
| name |
(base property)
| |
| description |
(base property)
| |
| template |
(base property)
| |
| text |
(base property)
| |
| jwpattern |
(base property)
| |
|
15.22.1 Property 'object'
|
| Description | The object which is to be rendered. This object must implement the IRenderable interface
|
| Type | String |
| Required | true |
15.22.2 Property 'column'
|
| Description | The required column number on which the object should be rendered. The column number will be within the selected section.
|
| Type | int |
| Required | true |
15.22.3 Property 'row'
|
| Description | The row number on which the object should be rendered. The column number will be within the selected section.
|
| Type | int |
15.22.4 Property 'halign'
|
| Description | Horizontal alignment. One of "left", "centre", "center", "right". Where horizontally in the cell will the object be anchored.
|
| Type | String |
| Choices |
left (default)
centre
center
right
|
| Default | left |
15.22.5 Property 'valign'
|
| Description | Horizontal alignment. One of "top", "centre", "center", "right". Where horizontally in the cell will the object be anchored.
|
| Type | String |
| Choices |
top (default)
centre
center
right
|
| Default | top |
15.22.6 Property 'width'
|
| Description | The absolute width of the sector in columns.
|
| Type | int |
15.22.7 Property 'height'
|
| Description | The absolute height of the sector in rows.
|
| Type | int |
Copyright (c) 2001-2008 New Technology/enterprise Ltd.
| |