Home
Categories
Dictionary
Download
Project Details
Changes Log
Who We Are
FAQ
License

Renderer Styles configuration


    1  Grammar
    2  Structure
    3  Example
    4  Notes
    5  See also

The Renderer Styles XML configuration allows to specify different renderer implementations for widgets StyleSets. This configuration can be specified using the rendererStyles property in the Look and Feel configuration.

Grammar

See the Renderer Styles configuration Schema.

Structure

The XML file contains the following elements:
  • "widget": contains "style" children which allows to specify the renderer implementations which will implement the widget renderer
    • "style": specify for a StyleSet or a range of StyleSets the renderer implementation which will implement the widget renderer. The "regex" attribute specifies the StyleSet or the range of StyleSets. The "rendererID" attribute specifies the ID of the renderer implementation
    • "rendererID": the ID of the renderer implementation for the range of StyleSets (see Multiple renderers declarations)
Note that this file is optional, and the specification is also optional for a widget. For each widget and StyleSet:
  • If the Renderer Styles XML configuration file does not exist, or the widget is not defined in the file, or the StyleSet is not defined for this widget, then the default renderer implementation will be used
  • Else the specified renderer corresponding with the renderer ID specified in the file will be used. Note that the "default" rendererID specifies the default renderer implementation, and the "initial" rendererID specifies the initial default renderer implementation[1]
    note that the initial default renderer implementation can be modified by J661 extensions

Example

      <rendererStyles>
         <widget arincID="A661_EDIT_BOX_NUMERIC" >
            <style regex="0-10" rendererID="default" />
            <style regex="11-20" rendererID="label" />
            <style regex="21-30" rendererID="spinner" />
         </widget>
      </rendererStyles>

Notes

  1. ^ note that the initial default renderer implementation can be modified by J661 extensions

See also


Categories: lookandfeel | server | user

Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence