<widget arincID="A661_GP_ARC_ELLIPSE"> <renderer path="arinc661.server.jfx.model.stdrenderer.ArcEllipseRenderer"/> </widget>
<widget arincID="A661_EDIT_BOX_NUMERIC"> <renderer path="arinc661.server.jfx.model.stdrenderer.EditBoxNumericRenderer"/> <renderer id="label" path="arinc661.server.jfx.model.stdrenderer.LabelEditBoxNumericRenderer"/> <renderer id="spinner" path="arinc661.server.jfx.model.stdrenderer.EditBoxNumericSpinnerRenderer"/> </widget>In that case:
<xs:complexType name="renderer"> <xs:sequence> <xs:element ref="property" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="path" type="xs:anySimpleType" use="required"/> <xs:attribute name="id" type="xs:token"/> <xs:attribute name="uiClassID" type="xs:token"/> <xs:attribute name="uiClass" type="xs:token"/> <xs:attribute name="lfName" type="xs:token"/> </xs:complexType>In some cases, ARINC 661 widgets can't be modelled by existing Swing ComponentUI classes. In these cases, the XML renderer i mplementation can specify the additional optional following elements for the widget Swing renderer implementation:
<command arincID="A661_SYMBOL_DEFN_ARC_CIRCLE" path="arinc661.server.jfx.model.symbols.JFXSymbolCommand$DefArcCircle"/>For a widget:
<widget arincID="A661_GP_ARC_ELLIPSE"> <renderer path="arinc661.server.jfx.model.stdrenderer.ArcEllipseRenderer"/> </widget>For an extension:
<extension arincID="A661_INITIAL_FOCUS_EXTENSION"> <extensionRenderer path="arinc661.server.model.arinc.InitialFocusExtensionRenderer"/> </extension>For an MapItem:
<mapItem arincID="A661_LINE_SEGMENT"> <mapItemRenderer path="arinc661.jfx.mapitems.LineCurveRenderer"/> </mapItem>
A661_BASIC_CONTAINER
widget is also used for in SuperLayers to model Displays and Layouts:<widget arincID="A661_BASIC_CONTAINER"> <renderer path="arinc661.server.jfx.model.stdrenderer.BasicContainerRenderer"/> <widgetPath path="arinc661.server.jfx.wm.JFXServerDisplay"/> <widgetPath path="arinc661.server.wm.superlayer.AbstractServerCockpit$Selector"/> <widgetPath path="arinc661.server.wm.superlayer.ServerLayoutImpl"/> </widget>
A661_EDIT_BOX_NUMERIC
widget has 3 renderers implementations:<widget arincID="A661_EDIT_BOX_NUMERIC"> <renderer path="arinc661.server.jfx.model.stdrenderer.EditBoxNumericRenderer"/> <renderer id="label" path="arinc661.server.jfx.model.stdrenderer.LabelEditBoxNumericRenderer"/> <renderer id="spinner" path="arinc661.server.jfx.model.stdrenderer.EditBoxNumericSpinnerRenderer"/> </widget>
A661_GP_LINE
widget, one specific UIComponent is provided in the J661 Swing implementation. The XML renderer implementation specifies the following elements for this widget Swing renderer implementation:<widget arincID="A661_GP_LINE" > <renderer path="arinc661.server.swing.model.stdrenderer.LineRenderer" uiClassID="LineUI" uiClass="arinc661.server.swing.ui.basic.LineRendererUI" lfName="Line" /> </widget>
Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence