Custom Widgets

Custom widgets are user-defined controls within a DashBoard editor. These allow device designers and CustomPanel developers to reuse repeated elements within an OGLML document. Complex UI behaviour can be coded into the widget, which is hidden from the UI developer.

Custom Widgets allow the designer to design an element consisting of multiple controls, OGLML markup tags and ogScript. This element can then be instantiated multiple times within an OGLML document. Widgets may be defined within an OGLML document or made globally available in DashBoard.

Widgets allow configuration parameters exposed to tailor the look, feel and behaviour. These configuration parameters are also available through the PanelBuilder GUI, allowing simple customization of the widget.

Widgets are defined by creating a Widget Descriptor, which consists of a section OGLML/ogScript code that defines the controls. Additionally, a configuration block may be defined which creates a configuration page for the widget within PanelBuilder.