Row Element is implemented following the MVC design pattern. It is divided into row model layer, row control layer and row view component. Row model is created according to the row XML DOM. Row Control provides the common function and supports the HTML DOM Event Handler. Like Tab and Column, the Control Layer of Row contains abstract row control and the row control, in which the latter extends the former and uses the functions the former provides. Row view component is the container for the widget instance on the page.
Attribute in XML | Description |
---|---|
id | Row Element Id |
title | Row Element title |
Draggable | Identify whether can be draggable (width changed) |
Row Model is related to the widget defined. Taking the id as the foreign key, the runtime can find the widget instance with the same id in the XML repository. Refer to the Storage management topic.
The following figure illustrates the architecture for Row element.