Properties of Model & Form Factory |
Values for these properties will be loaded from Project Connection Information
Property Name | Data type | Description |
Description | String | Specifies title for Internal Frame |
Cardinality | List - of - Values | If one-to-one is specified, only one row exist for a given row in the parent/master table. If One-to-Many is specified, multiple rows can exist. Also, the User Interface becomes as Table when One-to-Many is Specified. Valves : Onetoone Onetomany |
Parent |
List - of - Values( String )
|
All tables in a document should have a parent table with one-to-one or one-to-many relation associated. The parent column specifies the parent table of the current table. Also, the key columns of the parent table are inherited to the child table and forms part of the child table's composite key. |
UI | List - of - Values( String ) | Each table is presented as a separate panel in the UI.In a Document having multiple tables, the panels can be arranged as internal frames, tab-sheets of a tabbed-pane, or a split-pane. This property determines the way the panel has to be arranged. Values : InternalFrame / TabbedPane / SplitPane |
Visible |
List - of - Values ( Boolean ) |
Specifies whether the DataFrame component is visible. Values : true / false ( Only for UI - InternalFrame ) |
Cols | Int | specifies the number of columns in which the groups are laid-out in the user-interface. |
Layout | String | Specifies the Layout manager to be implemented in DataFrame. Values : Null Layout |
X | Int | Specifies the X position the distance from the left edge relative to the container in Pixel units. |
Y | Int | Specifies the Y position the distance from the top edge relative to the container in Pixel units. |
UIWidth | Int | Specifies the Width of the Container. |
UIHeight | Int | Specifies the Height of the Container. |
hGap | Int | Horizontal gap between two components |
vGap | Int | Veritcal gep between two Components. |
Groupcount | Int | No. of groups in a Table. ( Values will be assigned automatically ) |
ColumnCount | Int | No. of columns in a Table. ( Values will be assigned automatically ) |
Property Name | Data type | Description |
Description | String | Specifies the Lable text for the Data component. |
DataType | String | Values : JDBC supported Datatypes |
DBWidth | Int | Specifies the width of the Data type. |
ColumnType | List - of - Values( String ) | Each column in the table can be either key or non-key column. If the column is part of the key, choose key. Certain columns need not be stored in table but have only visiblity in UI. eg. amount. For these type of columns, choose computed. For others, choose detail. Values : Key / detail / Computed |
Null | List - of - Values | Values : yes / no |
Summary | List - of - Values( String ) | If the column has to appear in the summarised version of the document, choose yes, else no. Summary of the document is displayed in data-panels when accessed from other documents. Values : yes / no |
UI | String | Textfield / Combobox / Datasubframe / Checkbox |
UIWidth | Int | Specifies the width of the Component in pixel units. |
Format | String | Specifies the data format in a component. |
IntialValue | String | Specifies the text to be displayed |
Visible | List - of - Values(Boolean) | Values : true / false |
Editable | List - of - Values(Boolean) | Values : true / false |
Required | List - of - Values(Boolean) | Values : true / false |
ValueSource | String | The dml file-name which forms the source of data for the data-panel to be displayed. By default, it would be the summary of a document. If a customised version is needed, a different dml can be provided as the source. |
ReturnCol | String | When the user selects a row in the data-panel, a specific column from data-panel can be passed from the data-panel to the column to which the data-panel is linked. |
BaseObject | String | Denotes the source-document from which the user can dragged from. The base-object establishes a relationship between the current- document and the source-document |
BaseTable | String | Denotes the table in the source- document from which the user can dragged from. |
BaseType | String | Denotes the column type source- document from which the user can dragged from. The base type determines the data-type of the column at the persistance-level. |
Property Name | Data type | Description |
Name | String | Specifies the name of the Component. ( non editable) |
Border | List - of - values (String) | Specifies the style of the border of the control. Values : BevelLowered, BevelRaised, Compound, Empty, EtchedLowered, EtchedRaised, Matte, SoftBevelLowered, SoftBevelRaised |
Alignment | List - of - values (String) | Specifies the text alignment in the control. Values : Left, Center , Right |
Case | List - of - Values( String ) | Specifies the Case in which text eneterd in the component displays. Values : Any / Upper / Lower |
Format | String | Specifies the data format in a component. (non editable ) ( editable only in Model Factory ) |
InitialValue | String | Specifies the text to be displayed. ( non editable ) ( editable in Model Factory ) |
Visible | Boolean | Values : true / false (non editable ) ( editable in Model Factory ) |
Editable | Boolean | Values : true / false (non editable ) ( editable in Model Factory ) |
Required | Boolean | Values : true / false (non editable ) ( editable in Model Factory ) |
FontName | List - of - Values(String) | Specifies the font to be used in the Component to display text. Values : System fonts. |
FontStyle | List - of - Values(String) | Specifies the font style. Values: Regular / Bold / Italic. |
FontSize | List - of - Values(Int) | Specifies the font size. |
XPosition | Int | Specifies the X position the distance from the left edge relative to the container in Pixel units. |
YPosition | Int | Specifies the Y position the distance from the left edge relative to the container in Pixel units. |
UIWidth | Int | Specifies the Width of the Container |
UIHeight | Int | Specifies the Height of the Container. |
LabelX | Int | Specifies the Lable components X position the distance from the left edge relative to the container in Pixel units. ( value : assigned by system) (non editable ) |
LabelY | Int | Specifies the Lable components Y position the distance from the left edge relative to the container in Pixel units. ( value : assigned by system) (non editable ) |
LabelWidth | Int | Specifies the Lable components Width position the distance from the left edge relative to the container in Pixel units. ( value : assigned by system) (non editable ) |
LabelHeight | Int | Specifies the Lable components Height position the distance from the left edge relative to the container in Pixel units. ( value : assigned by system) (non editable ) |