Revision 46850 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/featuretype/DefaultFeatureTypePanelView.java
DefaultFeatureTypePanelView.java | ||
---|---|---|
28 | 28 |
public class DefaultFeatureTypePanelView extends JPanel |
29 | 29 |
{ |
30 | 30 |
JTabbedPane tabFeatureType = new JTabbedPane(); |
31 |
JPanel gridAttributes = new JPanel(); |
|
32 |
HorizontalLineComponent horizontallinecomponent1 = new HorizontalLineComponent(); |
|
33 |
JPanel gridAttributesTable = new JPanel(); |
|
34 |
JTable tblFields = new JTable(); |
|
35 |
JButton btnNew = new JButton(); |
|
36 |
JButton btnDelete = new JButton(); |
|
37 |
JPanel gridAttributesDetail = new JPanel(); |
|
38 |
JPanel pnlField = new JPanel(); |
|
39 |
JButton btnFormFieldAccept = new JButton(); |
|
40 |
JButton btnFormFieldDiscard = new JButton(); |
|
41 |
JButton btnFormFieldModify = new JButton(); |
|
42 | 31 |
JLabel lblLabel = new JLabel(); |
43 | 32 |
JLabel lblDescription = new JLabel(); |
44 | 33 |
JTextField txtLabel = new JTextField(); |
45 | 34 |
JTextArea txtDescription = new JTextArea(); |
46 | 35 |
JLabel lblTags = new JLabel(); |
47 | 36 |
JPanel gridTags = new JPanel(); |
48 |
HorizontalLineComponent horizontallinecomponent2 = new HorizontalLineComponent();
|
|
37 |
HorizontalLineComponent horizontallinecomponent1 = new HorizontalLineComponent();
|
|
49 | 38 |
JPanel gridTagsItems = new JPanel(); |
50 | 39 |
JTable tblTagsItems = new JTable(); |
51 | 40 |
JButton btnTagsNew = new JButton(); |
... | ... | |
61 | 50 |
JComboBox cboTagsItemValue = new JComboBox(); |
62 | 51 |
JLabel lblTagsItemNotes = new JLabel(); |
63 | 52 |
JLabel lblTagsItemNotesValue = new JLabel(); |
53 |
JPanel gridAttributes = new JPanel(); |
|
54 |
HorizontalLineComponent horizontallinecomponent2 = new HorizontalLineComponent(); |
|
55 |
JPanel gridAttributesTable = new JPanel(); |
|
56 |
JTable tblFields = new JTable(); |
|
57 |
JButton btnNew = new JButton(); |
|
58 |
JButton btnDelete = new JButton(); |
|
59 |
JPanel gridAttributesDetail = new JPanel(); |
|
60 |
JPanel pnlField = new JPanel(); |
|
61 |
JButton btnFormFieldAccept = new JButton(); |
|
62 |
JButton btnFormFieldDiscard = new JButton(); |
|
63 |
JButton btnFormFieldModify = new JButton(); |
|
64 | 64 |
JCheckBox chkRulesValidateFeatureBeforeInsert = new JCheckBox(); |
65 | 65 |
JCheckBox chkRulesValidateFeaturesAtFinishEditing = new JCheckBox(); |
66 | 66 |
TitledSeparator lblRulesDefaultRules = new TitledSeparator(); |
... | ... | |
184 | 184 |
jpanel1.setLayout(formlayout1); |
185 | 185 |
|
186 | 186 |
tabFeatureType.setName("tabFeatureType"); |
187 |
tabFeatureType.addTab("_Columns",null,createPanel1());
|
|
188 |
tabFeatureType.addTab("_Visualization",null,createPanel4());
|
|
187 |
tabFeatureType.addTab("_General",null,createPanel1());
|
|
188 |
tabFeatureType.addTab("_Columns",null,createPanel4());
|
|
189 | 189 |
tabFeatureType.addTab("_Rules",null,createPanel7()); |
190 | 190 |
jpanel1.add(tabFeatureType,cc.xy(2,3)); |
191 | 191 |
|
... | ... | |
197 | 197 |
public JPanel createPanel1() |
198 | 198 |
{ |
199 | 199 |
JPanel jpanel1 = new JPanel(); |
200 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
|
|
200 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:GROW(0.1),CENTER:2DLU:NONE,FILL:DEFAULT:GROW(0.8),CENTER:2DLU:NONE");
|
|
201 | 201 |
CellConstraints cc = new CellConstraints(); |
202 | 202 |
jpanel1.setLayout(formlayout1); |
203 | 203 |
|
204 |
jpanel1.add(creategridAttributes(),cc.xy(2,2)); |
|
205 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 }); |
|
206 |
return jpanel1; |
|
207 |
} |
|
208 |
|
|
209 |
public JPanel creategridAttributes() |
|
210 |
{ |
|
211 |
gridAttributes.setName("gridAttributes"); |
|
212 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
213 |
CellConstraints cc = new CellConstraints(); |
|
214 |
gridAttributes.setLayout(formlayout1); |
|
215 |
|
|
216 |
gridAttributes.add(horizontallinecomponent1,cc.xy(1,2)); |
|
217 |
|
|
218 |
gridAttributes.add(creategridAttributesTable(),cc.xy(1,1)); |
|
219 |
gridAttributes.add(creategridAttributesDetail(),cc.xy(1,3)); |
|
220 |
addFillComponents(gridAttributes,new int[]{ 1 },new int[]{ 1,3 }); |
|
221 |
return gridAttributes; |
|
222 |
} |
|
223 |
|
|
224 |
public JPanel creategridAttributesTable() |
|
225 |
{ |
|
226 |
gridAttributesTable.setName("gridAttributesTable"); |
|
227 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)"); |
|
228 |
CellConstraints cc = new CellConstraints(); |
|
229 |
gridAttributesTable.setLayout(formlayout1); |
|
230 |
|
|
231 |
tblFields.setName("tblFields"); |
|
232 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
233 |
jscrollpane1.setViewportView(tblFields); |
|
234 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
235 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
236 |
gridAttributesTable.add(jscrollpane1,cc.xy(1,1)); |
|
237 |
|
|
238 |
gridAttributesTable.add(createPanel2(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
239 |
addFillComponents(gridAttributesTable,new int[]{ 2,3 },new int[0]); |
|
240 |
return gridAttributesTable; |
|
241 |
} |
|
242 |
|
|
243 |
public JPanel createPanel2() |
|
244 |
{ |
|
245 |
JPanel jpanel1 = new JPanel(); |
|
246 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)"); |
|
247 |
CellConstraints cc = new CellConstraints(); |
|
248 |
jpanel1.setLayout(formlayout1); |
|
249 |
|
|
250 |
btnNew.setActionCommand("_New"); |
|
251 |
btnNew.setName("btnNew"); |
|
252 |
btnNew.setText("_New"); |
|
253 |
jpanel1.add(btnNew,cc.xy(2,1)); |
|
254 |
|
|
255 |
btnDelete.setActionCommand("_Delete"); |
|
256 |
btnDelete.setName("btnDelete"); |
|
257 |
btnDelete.setText("_Delete"); |
|
258 |
jpanel1.add(btnDelete,cc.xy(2,3)); |
|
259 |
|
|
260 |
addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 }); |
|
261 |
return jpanel1; |
|
262 |
} |
|
263 |
|
|
264 |
public JPanel creategridAttributesDetail() |
|
265 |
{ |
|
266 |
gridAttributesDetail.setName("gridAttributesDetail"); |
|
267 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)"); |
|
268 |
CellConstraints cc = new CellConstraints(); |
|
269 |
gridAttributesDetail.setLayout(formlayout1); |
|
270 |
|
|
271 |
pnlField.setName("pnlField"); |
|
272 |
gridAttributesDetail.add(pnlField,cc.xy(1,1)); |
|
273 |
|
|
274 |
gridAttributesDetail.add(createPanel3(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
275 |
addFillComponents(gridAttributesDetail,new int[]{ 2,3 },new int[0]); |
|
276 |
return gridAttributesDetail; |
|
277 |
} |
|
278 |
|
|
279 |
public JPanel createPanel3() |
|
280 |
{ |
|
281 |
JPanel jpanel1 = new JPanel(); |
|
282 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
283 |
CellConstraints cc = new CellConstraints(); |
|
284 |
jpanel1.setLayout(formlayout1); |
|
285 |
|
|
286 |
btnFormFieldAccept.setActionCommand("JButton"); |
|
287 |
btnFormFieldAccept.setName("btnFormFieldAccept"); |
|
288 |
btnFormFieldAccept.setText("Accept"); |
|
289 |
jpanel1.add(btnFormFieldAccept,cc.xy(2,3)); |
|
290 |
|
|
291 |
btnFormFieldDiscard.setActionCommand("JButton"); |
|
292 |
btnFormFieldDiscard.setName("btnFormFieldDiscard"); |
|
293 |
btnFormFieldDiscard.setText("_Discard"); |
|
294 |
jpanel1.add(btnFormFieldDiscard,cc.xy(2,5)); |
|
295 |
|
|
296 |
btnFormFieldModify.setActionCommand("JButton"); |
|
297 |
btnFormFieldModify.setName("btnFormFieldModify"); |
|
298 |
btnFormFieldModify.setText("_Modify"); |
|
299 |
jpanel1.add(btnFormFieldModify,cc.xy(2,1)); |
|
300 |
|
|
301 |
addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 }); |
|
302 |
return jpanel1; |
|
303 |
} |
|
304 |
|
|
305 |
public JPanel createPanel4() |
|
306 |
{ |
|
307 |
JPanel jpanel1 = new JPanel(); |
|
308 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:GROW(0.1),CENTER:2DLU:NONE,FILL:DEFAULT:GROW(0.8),CENTER:2DLU:NONE"); |
|
309 |
CellConstraints cc = new CellConstraints(); |
|
310 |
jpanel1.setLayout(formlayout1); |
|
311 |
|
|
312 | 204 |
lblLabel.setName("lblLabel"); |
313 | 205 |
lblLabel.setText("_Label"); |
314 | 206 |
jpanel1.add(lblLabel,cc.xy(2,2)); |
... | ... | |
345 | 237 |
CellConstraints cc = new CellConstraints(); |
346 | 238 |
gridTags.setLayout(formlayout1); |
347 | 239 |
|
348 |
gridTags.add(horizontallinecomponent2,cc.xy(1,2));
|
|
240 |
gridTags.add(horizontallinecomponent1,cc.xy(1,2));
|
|
349 | 241 |
|
350 | 242 |
gridTags.add(creategridTagsItems(),cc.xy(1,1)); |
351 | 243 |
gridTags.add(creategridTagsItem(),cc.xy(1,3)); |
... | ... | |
356 | 248 |
public JPanel creategridTagsItems() |
357 | 249 |
{ |
358 | 250 |
gridTagsItems.setName("gridTagsItems"); |
359 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
251 |
FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
360 | 252 |
CellConstraints cc = new CellConstraints(); |
361 | 253 |
gridTagsItems.setLayout(formlayout1); |
362 | 254 |
|
... | ... | |
367 | 259 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
368 | 260 |
gridTagsItems.add(jscrollpane1,cc.xy(1,1)); |
369 | 261 |
|
370 |
gridTagsItems.add(createPanel5(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
262 |
gridTagsItems.add(createPanel2(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
371 | 263 |
addFillComponents(gridTagsItems,new int[]{ 2,3 },new int[0]); |
372 | 264 |
return gridTagsItems; |
373 | 265 |
} |
374 | 266 |
|
375 |
public JPanel createPanel5()
|
|
267 |
public JPanel createPanel2()
|
|
376 | 268 |
{ |
377 | 269 |
JPanel jpanel1 = new JPanel(); |
378 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)");
|
|
270 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE");
|
|
379 | 271 |
CellConstraints cc = new CellConstraints(); |
380 | 272 |
jpanel1.setLayout(formlayout1); |
381 | 273 |
|
... | ... | |
400 | 292 |
CellConstraints cc = new CellConstraints(); |
401 | 293 |
gridTagsItem.setLayout(formlayout1); |
402 | 294 |
|
403 |
gridTagsItem.add(createPanel6(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
295 |
gridTagsItem.add(createPanel3(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
404 | 296 |
gridTagsItem.add(creategrdTagsItemView(),cc.xy(1,1)); |
405 | 297 |
addFillComponents(gridTagsItem,new int[]{ 1,2,3 },new int[]{ 1 }); |
406 | 298 |
return gridTagsItem; |
407 | 299 |
} |
408 | 300 |
|
409 |
public JPanel createPanel6()
|
|
301 |
public JPanel createPanel3()
|
|
410 | 302 |
{ |
411 | 303 |
JPanel jpanel1 = new JPanel(); |
412 | 304 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
... | ... | |
435 | 327 |
public JPanel creategrdTagsItemView() |
436 | 328 |
{ |
437 | 329 |
grdTagsItemView.setName("grdTagsItemView"); |
438 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
330 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:12DLU:GROW(1.0)","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
439 | 331 |
CellConstraints cc = new CellConstraints(); |
440 | 332 |
grdTagsItemView.setLayout(formlayout1); |
441 | 333 |
|
... | ... | |
466 | 358 |
return grdTagsItemView; |
467 | 359 |
} |
468 | 360 |
|
361 |
public JPanel createPanel4() |
|
362 |
{ |
|
363 |
JPanel jpanel1 = new JPanel(); |
|
364 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE"); |
|
365 |
CellConstraints cc = new CellConstraints(); |
|
366 |
jpanel1.setLayout(formlayout1); |
|
367 |
|
|
368 |
jpanel1.add(creategridAttributes(),cc.xy(2,2)); |
|
369 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 }); |
|
370 |
return jpanel1; |
|
371 |
} |
|
372 |
|
|
373 |
public JPanel creategridAttributes() |
|
374 |
{ |
|
375 |
gridAttributes.setName("gridAttributes"); |
|
376 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)"); |
|
377 |
CellConstraints cc = new CellConstraints(); |
|
378 |
gridAttributes.setLayout(formlayout1); |
|
379 |
|
|
380 |
gridAttributes.add(horizontallinecomponent2,cc.xy(1,2)); |
|
381 |
|
|
382 |
gridAttributes.add(creategridAttributesTable(),cc.xy(1,1)); |
|
383 |
gridAttributes.add(creategridAttributesDetail(),cc.xy(1,3)); |
|
384 |
addFillComponents(gridAttributes,new int[]{ 1 },new int[]{ 1,3 }); |
|
385 |
return gridAttributes; |
|
386 |
} |
|
387 |
|
|
388 |
public JPanel creategridAttributesTable() |
|
389 |
{ |
|
390 |
gridAttributesTable.setName("gridAttributesTable"); |
|
391 |
FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)"); |
|
392 |
CellConstraints cc = new CellConstraints(); |
|
393 |
gridAttributesTable.setLayout(formlayout1); |
|
394 |
|
|
395 |
tblFields.setName("tblFields"); |
|
396 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
397 |
jscrollpane1.setViewportView(tblFields); |
|
398 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
399 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
400 |
gridAttributesTable.add(jscrollpane1,cc.xy(1,1)); |
|
401 |
|
|
402 |
gridAttributesTable.add(createPanel5(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
403 |
addFillComponents(gridAttributesTable,new int[]{ 2,3 },new int[0]); |
|
404 |
return gridAttributesTable; |
|
405 |
} |
|
406 |
|
|
407 |
public JPanel createPanel5() |
|
408 |
{ |
|
409 |
JPanel jpanel1 = new JPanel(); |
|
410 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)"); |
|
411 |
CellConstraints cc = new CellConstraints(); |
|
412 |
jpanel1.setLayout(formlayout1); |
|
413 |
|
|
414 |
btnNew.setActionCommand("_New"); |
|
415 |
btnNew.setName("btnNew"); |
|
416 |
btnNew.setText("_New"); |
|
417 |
jpanel1.add(btnNew,cc.xy(2,1)); |
|
418 |
|
|
419 |
btnDelete.setActionCommand("_Delete"); |
|
420 |
btnDelete.setName("btnDelete"); |
|
421 |
btnDelete.setText("_Delete"); |
|
422 |
jpanel1.add(btnDelete,cc.xy(2,3)); |
|
423 |
|
|
424 |
addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 }); |
|
425 |
return jpanel1; |
|
426 |
} |
|
427 |
|
|
428 |
public JPanel creategridAttributesDetail() |
|
429 |
{ |
|
430 |
gridAttributesDetail.setName("gridAttributesDetail"); |
|
431 |
FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)"); |
|
432 |
CellConstraints cc = new CellConstraints(); |
|
433 |
gridAttributesDetail.setLayout(formlayout1); |
|
434 |
|
|
435 |
pnlField.setName("pnlField"); |
|
436 |
gridAttributesDetail.add(pnlField,cc.xy(1,1)); |
|
437 |
|
|
438 |
gridAttributesDetail.add(createPanel6(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
439 |
addFillComponents(gridAttributesDetail,new int[]{ 2,3 },new int[0]); |
|
440 |
return gridAttributesDetail; |
|
441 |
} |
|
442 |
|
|
443 |
public JPanel createPanel6() |
|
444 |
{ |
|
445 |
JPanel jpanel1 = new JPanel(); |
|
446 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
447 |
CellConstraints cc = new CellConstraints(); |
|
448 |
jpanel1.setLayout(formlayout1); |
|
449 |
|
|
450 |
btnFormFieldAccept.setActionCommand("JButton"); |
|
451 |
btnFormFieldAccept.setName("btnFormFieldAccept"); |
|
452 |
btnFormFieldAccept.setText("Accept"); |
|
453 |
jpanel1.add(btnFormFieldAccept,cc.xy(2,3)); |
|
454 |
|
|
455 |
btnFormFieldDiscard.setActionCommand("JButton"); |
|
456 |
btnFormFieldDiscard.setName("btnFormFieldDiscard"); |
|
457 |
btnFormFieldDiscard.setText("_Discard"); |
|
458 |
jpanel1.add(btnFormFieldDiscard,cc.xy(2,5)); |
|
459 |
|
|
460 |
btnFormFieldModify.setActionCommand("JButton"); |
|
461 |
btnFormFieldModify.setName("btnFormFieldModify"); |
|
462 |
btnFormFieldModify.setText("_Modify"); |
|
463 |
jpanel1.add(btnFormFieldModify,cc.xy(2,1)); |
|
464 |
|
|
465 |
addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 }); |
|
466 |
return jpanel1; |
|
467 |
} |
|
468 |
|
|
469 | 469 |
public JPanel createPanel7() |
470 | 470 |
{ |
471 | 471 |
JPanel jpanel1 = new JPanel(); |
... | ... | |
512 | 512 |
public JPanel creategridRulesTable() |
513 | 513 |
{ |
514 | 514 |
gridRulesTable.setName("gridRulesTable"); |
515 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
515 |
FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
516 | 516 |
CellConstraints cc = new CellConstraints(); |
517 | 517 |
gridRulesTable.setLayout(formlayout1); |
518 | 518 |
|
... | ... | |
565 | 565 |
public JPanel createPanel9() |
566 | 566 |
{ |
567 | 567 |
JPanel jpanel1 = new JPanel(); |
568 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)");
|
|
568 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)");
|
|
569 | 569 |
CellConstraints cc = new CellConstraints(); |
570 | 570 |
jpanel1.setLayout(formlayout1); |
571 | 571 |
|
... | ... | |
609 | 609 |
public JPanel createPanel10() |
610 | 610 |
{ |
611 | 611 |
JPanel jpanel1 = new JPanel(); |
612 |
FormLayout formlayout1 = new FormLayout("FILL:MIN(200PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
612 |
FormLayout formlayout1 = new FormLayout("FILL:200PX:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
|
|
613 | 613 |
CellConstraints cc = new CellConstraints(); |
614 | 614 |
jpanel1.setLayout(formlayout1); |
615 | 615 |
|
... | ... | |
634 | 634 |
|
635 | 635 |
btnRuleValidation.setActionCommand("..."); |
636 | 636 |
btnRuleValidation.setName("btnRuleValidation"); |
637 |
btnRuleValidation.setOpaque(false); |
|
637 | 638 |
btnRuleValidation.setText("..."); |
638 | 639 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
639 | 640 |
btnRuleValidation.setBorder(emptyborder1); |
... | ... | |
641 | 642 |
|
642 | 643 |
btnRuleValidationHistory.setActionCommand("..."); |
643 | 644 |
btnRuleValidationHistory.setName("btnRuleValidationHistory"); |
645 |
btnRuleValidationHistory.setOpaque(false); |
|
644 | 646 |
btnRuleValidationHistory.setText("..."); |
645 | 647 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
646 | 648 |
btnRuleValidationHistory.setBorder(emptyborder2); |
... | ... | |
648 | 650 |
|
649 | 651 |
btnRuleValidationBookmarks.setActionCommand("..."); |
650 | 652 |
btnRuleValidationBookmarks.setName("btnRuleValidationBookmarks"); |
653 |
btnRuleValidationBookmarks.setOpaque(false); |
|
651 | 654 |
btnRuleValidationBookmarks.setText("..."); |
652 | 655 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
653 | 656 |
btnRuleValidationBookmarks.setBorder(emptyborder3); |
Also available in: Unified diff