Revision 41657 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.fmap.control/src/main/java/org/gvsig/fmap/mapcontrol/dal/expresionPanel/ExpresionPanelLayout.java
ExpresionPanelLayout.java | ||
---|---|---|
51 | 51 |
butAccept = new javax.swing.JButton(); |
52 | 52 |
filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(16, 16), new java.awt.Dimension(16, 16), new java.awt.Dimension(16, 16)); |
53 | 53 |
jScrollPane3 = new javax.swing.JScrollPane(); |
54 |
jTextArea1 = new javax.swing.JTextArea(); |
|
54 |
txtExpresion = new javax.swing.JTextArea(); |
|
55 |
butCancel = new javax.swing.JButton(); |
|
55 | 56 |
|
56 | 57 |
java.awt.GridBagLayout layout = new java.awt.GridBagLayout(); |
57 |
layout.columnWidths = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0}; |
|
58 |
layout.columnWidths = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0};
|
|
58 | 59 |
layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0}; |
59 | 60 |
setLayout(layout); |
60 | 61 |
|
... | ... | |
162 | 163 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
163 | 164 |
gridBagConstraints.gridx = 12; |
164 | 165 |
gridBagConstraints.gridy = 2; |
166 |
gridBagConstraints.gridwidth = 3; |
|
165 | 167 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
166 | 168 |
add(lblValues, gridBagConstraints); |
167 | 169 |
|
... | ... | |
171 | 173 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
172 | 174 |
gridBagConstraints.gridx = 12; |
173 | 175 |
gridBagConstraints.gridy = 4; |
176 |
gridBagConstraints.gridwidth = 3; |
|
174 | 177 |
gridBagConstraints.gridheight = 9; |
175 | 178 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
176 | 179 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START; |
... | ... | |
178 | 181 |
gridBagConstraints.weighty = 0.4; |
179 | 182 |
add(jScrollPane2, gridBagConstraints); |
180 | 183 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
181 |
gridBagConstraints.gridx = 14;
|
|
184 |
gridBagConstraints.gridx = 16;
|
|
182 | 185 |
gridBagConstraints.gridy = 0; |
183 | 186 |
add(filler1, gridBagConstraints); |
184 | 187 |
|
... | ... | |
195 | 198 |
gridBagConstraints.gridx = 12; |
196 | 199 |
gridBagConstraints.gridy = 18; |
197 | 200 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END; |
201 |
gridBagConstraints.weightx = 0.1; |
|
198 | 202 |
add(butAccept, gridBagConstraints); |
199 | 203 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
200 | 204 |
gridBagConstraints.gridx = 0; |
201 | 205 |
gridBagConstraints.gridy = 20; |
202 | 206 |
add(filler2, gridBagConstraints); |
203 | 207 |
|
204 |
jTextArea1.setColumns(20);
|
|
205 |
jTextArea1.setRows(5);
|
|
206 |
jScrollPane3.setViewportView(jTextArea1);
|
|
208 |
txtExpresion.setColumns(20);
|
|
209 |
txtExpresion.setRows(5);
|
|
210 |
jScrollPane3.setViewportView(txtExpresion);
|
|
207 | 211 |
|
208 | 212 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
209 | 213 |
gridBagConstraints.gridx = 2; |
210 | 214 |
gridBagConstraints.gridy = 16; |
211 |
gridBagConstraints.gridwidth = 11;
|
|
215 |
gridBagConstraints.gridwidth = 13;
|
|
212 | 216 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
213 | 217 |
gridBagConstraints.weightx = 0.1; |
214 | 218 |
gridBagConstraints.weighty = 0.1; |
215 | 219 |
add(jScrollPane3, gridBagConstraints); |
220 |
|
|
221 |
butCancel.setText("Cancel"); |
|
222 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
223 |
gridBagConstraints.gridx = 14; |
|
224 |
gridBagConstraints.gridy = 18; |
|
225 |
add(butCancel, gridBagConstraints); |
|
216 | 226 |
}// </editor-fold>//GEN-END:initComponents |
217 | 227 |
|
218 | 228 |
|
219 | 229 |
// Variables declaration - do not modify//GEN-BEGIN:variables |
220 | 230 |
protected javax.swing.JButton butAccept; |
221 | 231 |
protected javax.swing.JButton butAnd; |
232 |
protected javax.swing.JButton butCancel; |
|
222 | 233 |
protected javax.swing.JButton butClear; |
223 | 234 |
protected javax.swing.JButton butEq; |
224 | 235 |
protected javax.swing.JButton butGe; |
... | ... | |
234 | 245 |
protected javax.swing.JScrollPane jScrollPane1; |
235 | 246 |
protected javax.swing.JScrollPane jScrollPane2; |
236 | 247 |
protected javax.swing.JScrollPane jScrollPane3; |
237 |
protected javax.swing.JTextArea jTextArea1; |
|
238 | 248 |
protected javax.swing.JLabel lblExpresion; |
239 | 249 |
protected javax.swing.JLabel lblFields; |
240 | 250 |
protected javax.swing.JLabel lblValues; |
241 | 251 |
protected javax.swing.JList lstFields; |
242 | 252 |
protected javax.swing.JList lstValues; |
253 |
protected javax.swing.JTextArea txtExpresion; |
|
243 | 254 |
// End of variables declaration//GEN-END:variables |
244 | 255 |
} |
Also available in: Unified diff