|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?>
|
2 | 2 |
|
3 | 3 | <Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
| 4 | + <NonVisualComponents> |
| 5 | + <Component class="javax.swing.ButtonGroup" name="focusButtonGroup"> |
| 6 | + </Component> |
| 7 | + </NonVisualComponents> |
| 8 | + <Properties> |
| 9 | + <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
| 10 | + <Dimension value="[32767, 103]"/> |
| 11 | + </Property> |
| 12 | + </Properties> |
4 | 13 | <AuxValues>
|
5 | 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
|
6 | 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
|
18 | 27 | <Group type="103" groupAlignment="0" attributes="0">
|
19 | 28 | <Group type="102" attributes="0">
|
20 | 29 | <EmptySpace max="-2" attributes="0"/>
|
21 |
| - <Group type="103" groupAlignment="0" attributes="0"> |
| 30 | + <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
22 | 31 | <Group type="102" attributes="0">
|
23 |
| - <Component id="cameraName" min="-2" max="-2" attributes="0"/> |
24 |
| - <EmptySpace max="32767" attributes="0"/> |
25 |
| - <Component id="rotationLabel" min="-2" max="-2" attributes="0"/> |
| 32 | + <Component id="zoomLabel" min="-2" max="-2" attributes="0"/> |
26 | 33 | <EmptySpace max="-2" attributes="0"/>
|
27 |
| - <Component id="rotationSpinner" min="-2" pref="52" max="-2" attributes="0"/> |
| 34 | + <Component id="zoomSlider" min="-2" max="-2" attributes="0"/> |
28 | 35 | </Group>
|
29 |
| - <Group type="102" attributes="0"> |
30 |
| - <Component id="zoomLabel" min="-2" max="-2" attributes="0"/> |
| 36 | + <Component id="cameraName" max="32767" attributes="0"/> |
| 37 | + </Group> |
| 38 | + <EmptySpace pref="38" max="32767" attributes="0"/> |
| 39 | + <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
| 40 | + <Group type="102" alignment="0" attributes="0"> |
| 41 | + <Component id="focusGroupLabel" min="-2" max="-2" attributes="0"/> |
31 | 42 | <EmptySpace max="-2" attributes="0"/>
|
32 |
| - <Component id="zoomSlider" pref="398" max="32767" attributes="0"/> |
| 43 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 44 | + <Component id="autoFocusRadioButton" alignment="0" min="-2" max="-2" attributes="0"/> |
| 45 | + <Group type="102" alignment="0" attributes="0"> |
| 46 | + <Component id="manualFocusRadioButton" min="-2" max="-2" attributes="0"/> |
| 47 | + <EmptySpace max="-2" attributes="0"/> |
| 48 | + <Component id="manualFocusSpinner" min="-2" pref="59" max="-2" attributes="0"/> |
| 49 | + </Group> |
| 50 | + </Group> |
| 51 | + </Group> |
| 52 | + <Group type="102" alignment="0" attributes="0"> |
| 53 | + <Component id="rotationLabel" min="-2" max="-2" attributes="0"/> |
| 54 | + <EmptySpace max="32767" attributes="0"/> |
| 55 | + <Component id="rotationSpinner" min="-2" pref="59" max="-2" attributes="0"/> |
33 | 56 | </Group>
|
34 | 57 | </Group>
|
35 |
| - <EmptySpace max="-2" attributes="0"/> |
| 58 | + <EmptySpace max="32767" attributes="0"/> |
36 | 59 | </Group>
|
37 | 60 | </Group>
|
38 | 61 | </DimensionLayout>
|
39 | 62 | <DimensionLayout dim="1">
|
40 | 63 | <Group type="103" groupAlignment="0" attributes="0">
|
41 |
| - <Group type="102" alignment="0" attributes="0"> |
42 |
| - <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> |
43 |
| - <Group type="103" groupAlignment="3" attributes="0"> |
44 |
| - <Component id="cameraName" alignment="3" min="-2" max="-2" attributes="0"/> |
45 |
| - <Component id="rotationSpinner" alignment="3" min="-2" max="-2" attributes="0"/> |
46 |
| - <Component id="rotationLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
47 |
| - </Group> |
48 |
| - <EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/> |
| 64 | + <Group type="102" attributes="0"> |
49 | 65 | <Group type="103" groupAlignment="0" attributes="0">
|
50 |
| - <Component id="zoomLabel" min="-2" max="-2" attributes="0"/> |
51 |
| - <Component id="zoomSlider" min="-2" max="-2" attributes="0"/> |
| 66 | + <Group type="102" attributes="0"> |
| 67 | + <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> |
| 68 | + <Group type="103" groupAlignment="3" attributes="0"> |
| 69 | + <Component id="cameraName" alignment="3" min="-2" max="-2" attributes="0"/> |
| 70 | + <Component id="rotationSpinner" alignment="3" min="-2" max="-2" attributes="0"/> |
| 71 | + <Component id="rotationLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| 72 | + </Group> |
| 73 | + <EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/> |
| 74 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 75 | + <Component id="zoomLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| 76 | + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> |
| 77 | + <Component id="focusGroupLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| 78 | + <Component id="autoFocusRadioButton" alignment="3" min="-2" max="-2" attributes="0"/> |
| 79 | + </Group> |
| 80 | + </Group> |
| 81 | + <EmptySpace max="-2" attributes="0"/> |
| 82 | + <Group type="103" groupAlignment="3" attributes="0"> |
| 83 | + <Component id="manualFocusSpinner" alignment="3" min="-2" max="-2" attributes="0"/> |
| 84 | + <Component id="manualFocusRadioButton" alignment="3" min="-2" max="-2" attributes="0"/> |
| 85 | + </Group> |
| 86 | + </Group> |
| 87 | + <Group type="102" attributes="0"> |
| 88 | + <EmptySpace min="45" pref="45" max="-2" attributes="0"/> |
| 89 | + <Component id="zoomSlider" min="-2" max="-2" attributes="0"/> |
| 90 | + </Group> |
52 | 91 | </Group>
|
53 |
| - <EmptySpace min="0" pref="0" max="-2" attributes="0"/> |
| 92 | + <EmptySpace pref="12" max="32767" attributes="0"/> |
54 | 93 | </Group>
|
55 | 94 | </Group>
|
56 | 95 | </DimensionLayout>
|
|
70 | 109 | <Property name="paintLabels" type="boolean" value="true"/>
|
71 | 110 | <Property name="paintTicks" type="boolean" value="true"/>
|
72 | 111 | <Property name="snapToTicks" type="boolean" value="true"/>
|
| 112 | + <Property name="value" type="int" value="0"/> |
73 | 113 | </Properties>
|
74 | 114 | <Events>
|
75 | 115 | <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="zoomSliderStateChanged"/>
|
|
102 | 142 | <Property name="toolTipText" type="java.lang.String" value="degrees each taken image should be rotated"/>
|
103 | 143 | </Properties>
|
104 | 144 | </Component>
|
| 145 | + <Component class="javax.swing.JLabel" name="focusGroupLabel"> |
| 146 | + <Properties> |
| 147 | + <Property name="text" type="java.lang.String" value="Focus:"/> |
| 148 | + </Properties> |
| 149 | + </Component> |
| 150 | + <Component class="javax.swing.JRadioButton" name="autoFocusRadioButton"> |
| 151 | + <Properties> |
| 152 | + <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
| 153 | + <ComponentRef name="focusButtonGroup"/> |
| 154 | + </Property> |
| 155 | + <Property name="selected" type="boolean" value="true"/> |
| 156 | + <Property name="text" type="java.lang.String" value="auto"/> |
| 157 | + </Properties> |
| 158 | + <Events> |
| 159 | + <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="focusItemChanged"/> |
| 160 | + </Events> |
| 161 | + </Component> |
| 162 | + <Component class="javax.swing.JRadioButton" name="manualFocusRadioButton"> |
| 163 | + <Properties> |
| 164 | + <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
| 165 | + <ComponentRef name="focusButtonGroup"/> |
| 166 | + </Property> |
| 167 | + <Property name="text" type="java.lang.String" value="manual"/> |
| 168 | + <Property name="toolTipText" type="java.lang.String" value="manual setting of focus not implemented, yet"/> |
| 169 | + <Property name="enabled" type="boolean" value="false"/> |
| 170 | + </Properties> |
| 171 | + <Events> |
| 172 | + <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="focusItemChanged"/> |
| 173 | + </Events> |
| 174 | + </Component> |
| 175 | + <Component class="javax.swing.JSpinner" name="manualFocusSpinner"> |
| 176 | + <Properties> |
| 177 | + <Property name="enabled" type="boolean" value="false"/> |
| 178 | + </Properties> |
| 179 | + <Events> |
| 180 | + <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="manualFocusSpinnerStateChanged"/> |
| 181 | + </Events> |
| 182 | + </Component> |
105 | 183 | </SubComponents>
|
106 | 184 | </Form>
|
0 commit comments