400 lines
23 KiB
XML
Executable File
400 lines
23 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
|
<AuxValues>
|
|
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
|
|
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
|
|
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
|
|
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
|
|
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
|
</AuxValues>
|
|
|
|
<Layout>
|
|
<DimensionLayout dim="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<Component id="renderer" pref="0" max="32767" attributes="0"/>
|
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="comboScale" alignment="0" min="-2" pref="104" max="-2" attributes="0"/>
|
|
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0">
|
|
<Component id="spinnerMax" alignment="0" max="32767" attributes="0"/>
|
|
<Component id="spinnerMin" alignment="0" pref="72" max="32767" attributes="0"/>
|
|
</Group>
|
|
<Component id="checkMeasurements" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="32767" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel7" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<Component id="spinnerExposure" linkSize="1" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel3" linkSize="1" min="-2" pref="106" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="textFOV" linkSize="1" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="jLabel8" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="deviceValuePanel4" min="-2" pref="127" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="buttonShowDetectorPanel" min="-2" pref="127" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="spinnerThreshold" min="-2" pref="121" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel5" pref="0" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Group type="103" groupAlignment="1" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="comboMode" linkSize="1" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel1" linkSize="1" min="-2" pref="106" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="comboDepth" linkSize="1" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel2" linkSize="1" min="-2" pref="106" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
|
<Component id="buttonAquire" min="-2" pref="127" max="-2" attributes="0"/>
|
|
</Group>
|
|
<Component id="buttonDone" min="-2" pref="127" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="buttonCloseVG10" alignment="0" min="-2" pref="127" max="-2" attributes="0"/>
|
|
<Component id="buttonOpenVG10" alignment="0" min="-2" pref="127" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace min="-2" pref="166" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
<DimensionLayout dim="1">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="1" attributes="0">
|
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="2" max="-2" attributes="0">
|
|
<Component id="jLabel2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="comboMode" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel1" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" alignment="1" groupAlignment="3" attributes="0">
|
|
<Component id="buttonAquire" alignment="3" min="-2" pref="35" max="-2" attributes="0"/>
|
|
<Component id="buttonOpenVG10" alignment="3" min="-2" pref="35" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="2" max="-2" attributes="0">
|
|
<Component id="jLabel1" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="comboDepth" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="buttonCloseVG10" alignment="2" min="-2" pref="35" max="-2" attributes="0"/>
|
|
<Component id="buttonDone" alignment="2" min="-2" pref="35" max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel2" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="2" attributes="0">
|
|
<Component id="jLabel3" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="spinnerExposure" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel3" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="deviceValuePanel4" linkSize="2" alignment="2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="buttonShowDetectorPanel" alignment="2" min="-2" pref="35" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="deviceValuePanel5" min="-2" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="textFOV" linkSize="2" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="spinnerThreshold" alignment="3" min="-2" pref="28" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
|
|
<Component id="checkMeasurements" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace min="-2" pref="45" max="-2" attributes="0"/>
|
|
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="comboScale" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="spinnerMax" min="-2" pref="28" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="spinnerMin" min="-2" pref="28" max="-2" attributes="0"/>
|
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
|
</Group>
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="renderer" pref="368" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
</Layout>
|
|
<SubComponents>
|
|
<Component class="ch.psi.pshell.imaging.Renderer" name="renderer">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="image"/>
|
|
<Property name="mode" type="ch.psi.pshell.imaging.RendererMode" editor="org.netbeans.modules.form.editors.EnumEditor">
|
|
<Value id="Stretch"/>
|
|
</Property>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel1">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Bit Depth:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JComboBox" name="comboDepth">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
|
|
<StringArray count="3">
|
|
<StringItem index="0" value="8"/>
|
|
<StringItem index="1" value="16"/>
|
|
<StringItem index="2" value="32"/>
|
|
</StringArray>
|
|
</Property>
|
|
<Property name="enabled" type="boolean" value="false"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboDepthActionPerformed"/>
|
|
</Events>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
|
</AuxValues>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel2">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Mode:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JComboBox" name="comboMode">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
|
|
<StringArray count="2">
|
|
<StringItem index="0" value="Single"/>
|
|
<StringItem index="1" value="Continuous"/>
|
|
</StringArray>
|
|
</Property>
|
|
<Property name="enabled" type="boolean" value="false"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboModeActionPerformed"/>
|
|
</Events>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
|
</AuxValues>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel3">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Exposure [s]:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JSpinner" name="spinnerExposure">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
|
|
<SpinnerModel initial="1.0" maximum="300.0" minimum="0.001" numberType="java.lang.Double" stepSize="1.0" type="number"/>
|
|
</Property>
|
|
<Property name="enabled" type="boolean" value="false"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="spinnerExposureStateChanged"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel1">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="eiger_mode_rbv"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel2">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="eiger_bit_depth_rbv"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel3">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="eiger_exposure_rbv"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel4">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="eiger_status"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JButton" name="buttonShowDetectorPanel">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Control Panel"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonShowDetectorPanelActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JCheckBox" name="checkMeasurements">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Measurements"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="checkMeasurementsActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JButton" name="buttonAquire">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Start"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonAquireActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JButton" name="buttonDone">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Stop"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonDoneActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JButton" name="buttonOpenVG10">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Open VG10"/>
|
|
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
<Dimension value="[68, 27]"/>
|
|
</Property>
|
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
<Dimension value="[68, 27]"/>
|
|
</Property>
|
|
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
<Dimension value="[68, 27]"/>
|
|
</Property>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonOpenVG10ActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JButton" name="buttonCloseVG10">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Close VG10"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonCloseVG10ActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JComboBox" name="comboScale">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
|
|
<StringArray count="2">
|
|
<StringItem index="0" value="Auto"/>
|
|
<StringItem index="1" value="Manual"/>
|
|
</StringArray>
|
|
</Property>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboScaleActionPerformed"/>
|
|
</Events>
|
|
<AuxValues>
|
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
|
</AuxValues>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel4">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Scale:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JSpinner" name="spinnerMax">
|
|
<Events>
|
|
<EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="spinnerMaxStateChanged"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JSpinner" name="spinnerMin">
|
|
<Events>
|
|
<EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="spinnerMinStateChanged"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel5">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Max:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel6">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Min:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel7">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="FOV:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="textFOV">
|
|
<Properties>
|
|
<Property name="horizontalAlignment" type="int" value="0"/>
|
|
<Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
<Color blue="0" green="0" red="0" type="rgb"/>
|
|
</Property>
|
|
<Property name="enabled" type="boolean" value="false"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel8">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Threshold [eV]:"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JSpinner" name="spinnerThreshold">
|
|
<Properties>
|
|
<Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
|
|
<SpinnerModel initial="0.0" numberType="java.lang.Double" stepSize="1.0" type="number"/>
|
|
</Property>
|
|
<Property name="enabled" type="boolean" value="false"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="spinnerThresholdStateChanged"/>
|
|
<EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="spinnerThresholdPropertyChange"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel5">
|
|
<Properties>
|
|
<Property name="deviceName" type="java.lang.String" value="eiger_threshold_rbv"/>
|
|
</Properties>
|
|
</Component>
|
|
</SubComponents>
|
|
</Form>
|