]> icculus.org git repositories - divverent/nexuiz.git/blob - tools/ImgToMap/src/imgtomap/JFrameMain.form
add new tool to create maps from heightmaps
[divverent/nexuiz.git] / tools / ImgToMap / src / imgtomap / JFrameMain.form
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4   <Properties>
5     <Property name="defaultCloseOperation" type="int" value="3"/>
6     <Property name="title" type="java.lang.String" value="ImgToMap"/>
7   </Properties>
8   <SyntheticProperties>
9     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10   </SyntheticProperties>
11   <AuxValues>
12     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
15     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
16     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
17     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
18     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
19     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
20   </AuxValues>
21
22   <Layout>
23     <DimensionLayout dim="0">
24       <Group type="103" groupAlignment="0" attributes="0">
25           <Group type="102" alignment="1" attributes="0">
26               <EmptySpace max="-2" attributes="0"/>
27               <Component id="jPanel1" max="32767" attributes="0"/>
28               <EmptySpace max="-2" attributes="0"/>
29           </Group>
30       </Group>
31     </DimensionLayout>
32     <DimensionLayout dim="1">
33       <Group type="103" groupAlignment="0" attributes="0">
34           <Group type="102" alignment="0" attributes="0">
35               <EmptySpace max="-2" attributes="0"/>
36               <Component id="jPanel1" max="32767" attributes="0"/>
37               <EmptySpace max="-2" attributes="0"/>
38           </Group>
39       </Group>
40     </DimensionLayout>
41   </Layout>
42   <SubComponents>
43     <Container class="javax.swing.JPanel" name="jPanel1">
44       <Properties>
45         <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
46           <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
47             <TitledBorder title="Convert image to map"/>
48           </Border>
49         </Property>
50       </Properties>
51
52       <Layout>
53         <DimensionLayout dim="0">
54           <Group type="103" groupAlignment="0" attributes="0">
55               <Group type="102" alignment="0" attributes="0">
56                   <EmptySpace max="-2" attributes="0"/>
57                   <Group type="103" groupAlignment="0" attributes="0">
58                       <Component id="jTextFieldTexture" alignment="0" pref="421" max="32767" attributes="0"/>
59                       <Group type="102" attributes="0">
60                           <Group type="103" groupAlignment="1" attributes="0">
61                               <Component id="jTextFieldInput" pref="291" max="32767" attributes="1"/>
62                               <Component id="jTextFieldOutput" alignment="1" pref="291" max="32767" attributes="1"/>
63                           </Group>
64                           <EmptySpace min="-2" max="-2" attributes="0"/>
65                           <Group type="103" groupAlignment="1" attributes="0">
66                               <Component id="jButtonOutput" pref="124" max="32767" attributes="2"/>
67                               <Component id="jButtonInput" pref="124" max="32767" attributes="2"/>
68                           </Group>
69                       </Group>
70                       <Component id="jButtonOK" alignment="0" min="-2" max="-2" attributes="0"/>
71                       <Group type="102" alignment="0" attributes="0">
72                           <Group type="103" groupAlignment="0" attributes="0">
73                               <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
74                               <Component id="jSpinnerUnits" alignment="0" min="-2" max="-2" attributes="1"/>
75                           </Group>
76                           <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
77                           <Group type="103" groupAlignment="0" max="-2" attributes="0">
78                               <Group type="102" alignment="0" attributes="0">
79                                   <Component id="jSpinnerHeight" min="-2" max="-2" attributes="1"/>
80                                   <EmptySpace type="separate" max="-2" attributes="0"/>
81                                   <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
82                               </Group>
83                               <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
84                           </Group>
85                       </Group>
86                       <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
87                   </Group>
88                   <EmptySpace max="-2" attributes="0"/>
89               </Group>
90           </Group>
91         </DimensionLayout>
92         <DimensionLayout dim="1">
93           <Group type="103" groupAlignment="0" attributes="0">
94               <Group type="102" attributes="0">
95                   <EmptySpace max="-2" attributes="0"/>
96                   <Group type="103" groupAlignment="3" attributes="0">
97                       <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
98                       <Component id="jTextFieldInput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
99                   </Group>
100                   <EmptySpace max="-2" attributes="0"/>
101                   <Group type="103" groupAlignment="3" attributes="0">
102                       <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
103                       <Component id="jTextFieldOutput" alignment="3" min="-2" pref="24" max="-2" attributes="0"/>
104                   </Group>
105                   <EmptySpace type="separate" max="-2" attributes="0"/>
106                   <Group type="103" groupAlignment="3" attributes="0">
107                       <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
108                       <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
109                   </Group>
110                   <EmptySpace max="-2" attributes="0"/>
111                   <Group type="103" groupAlignment="3" attributes="0">
112                       <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
113                       <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
114                       <Component id="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
115                   </Group>
116                   <EmptySpace type="unrelated" max="-2" attributes="0"/>
117                   <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
118                   <EmptySpace max="-2" attributes="0"/>
119                   <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
120                   <EmptySpace pref="39" max="32767" attributes="0"/>
121                   <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
122                   <EmptySpace max="-2" attributes="0"/>
123               </Group>
124           </Group>
125         </DimensionLayout>
126       </Layout>
127       <SubComponents>
128         <Component class="javax.swing.JTextField" name="jTextFieldInput">
129           <Properties>
130             <Property name="text" type="java.lang.String" value="/home/maik/netbeans/ImgToMap/test1.png"/>
131           </Properties>
132           <Events>
133             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextFieldInputActionPerformed"/>
134           </Events>
135         </Component>
136         <Component class="javax.swing.JButton" name="jButtonInput">
137           <Properties>
138             <Property name="text" type="java.lang.String" value="Select input file"/>
139           </Properties>
140           <Events>
141             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
142           </Events>
143         </Component>
144         <Component class="javax.swing.JTextField" name="jTextFieldOutput">
145           <Properties>
146             <Property name="text" type="java.lang.String" value="/tmp/test.map"/>
147           </Properties>
148         </Component>
149         <Component class="javax.swing.JButton" name="jButtonOutput">
150           <Properties>
151             <Property name="text" type="java.lang.String" value="Select output file"/>
152           </Properties>
153         </Component>
154         <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
155           <Properties>
156             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
157               <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
158             </Property>
159           </Properties>
160         </Component>
161         <Component class="javax.swing.JLabel" name="jLabel1">
162           <Properties>
163             <Property name="text" type="java.lang.String" value="Units per pixel:"/>
164           </Properties>
165         </Component>
166         <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
167           <Properties>
168             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
169               <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
170             </Property>
171           </Properties>
172         </Component>
173         <Component class="javax.swing.JLabel" name="jLabel2">
174           <Properties>
175             <Property name="text" type="java.lang.String" value="Height for white:"/>
176           </Properties>
177         </Component>
178         <Component class="javax.swing.JButton" name="jButtonOK">
179           <Properties>
180             <Property name="text" type="java.lang.String" value="Start conversion!"/>
181           </Properties>
182           <Events>
183             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
184           </Events>
185         </Component>
186         <Component class="javax.swing.JLabel" name="jLabel3">
187           <Properties>
188             <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
189           </Properties>
190         </Component>
191         <Component class="javax.swing.JTextField" name="jTextFieldTexture">
192           <Properties>
193             <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
194           </Properties>
195         </Component>
196         <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
197           <Properties>
198             <Property name="selected" type="boolean" value="true"/>
199             <Property name="text" type="java.lang.String" value="make detail"/>
200           </Properties>
201         </Component>
202       </SubComponents>
203     </Container>
204   </SubComponents>
205 </Form>