arincWindowJFX.properties
properties File which is in the "config" directory:
graphics=DefGraphics.xml ui=LookAndFeel.xml pictures=DefPictures.xml lf=JavaFX supplement=6 warnForUndefAttrs=false serverInputPort=8080 serverOutputPort=8081 serverInputSize=50000 serverOutputSize=200 server.autoVisible=true logServerArea=true windowManager=windows server.windows=../samples/simpleWindow.xml server.computeLayerSize=false server.superLayer=true server.menus=true server.uiCombo=true logMaximumLines=50 maximumQueueSize=50
graphics=DefGraphics.xml ui=LookAndFeel.xml pictures=DefPictures.xml lf=JavaFXThe
LookAndFeel.xml
has the following ui for the "JavaFX" lf:<ui name="JavaFX" type="jfx" > <property name="url" value="javaFXTest.css" /> <property name="rendererStyles" value="JFXRendererStyles.xml" /> <property name="styleSets" value="jfxStyles.xml" /> </ui>The UI type is jfx which means that is is the Server uses a JavaFX implementation.
supplement=6We use the supplement 6 version of the ARINC 661 standard.
logServerArea=true server.menus=true server.uiCombo=true logMaximumLines=50We have a Server configuration Window
windowManager=windows server.windows=../samples/simpleWindow.xml server.computeLayerSize=false server.superLayer=trueWe use the "../samples/simpleWindow.xml" file for the cockpit configuration.
<cockpit appliID="1" layerID="1" connectorType="dataConnector"> <DFFiles> <df path="ARINC_WidgetSet1.xml" /> </DFFiles> <windows> <windowDef name="Window" width="10000" height="10000" x="0" y="0" /> </windows> <configs border="255,255,255" borderWidth="3"> <display id="1" name="simple" width="10000" height="10000" defaultLayout="1"> <layout name="layout" id="1"> <window name="Window"> <layer layerID="56" /> </window> </layout> </display> </configs> </cockpit>
java -jar jfxServer.jar
As the configuration file is not defined here, the Server will ask for it. Look for the arincWindowJFX.properties
properties File which is in the "config" directory. Two windows will appear:Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence