Revision 44263 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/FeatureTypeAttributePanelView.java
FeatureTypeAttributePanelView.java | ||
---|---|---|
57 | 57 |
JButton btnIntervalStart = new JButton(); |
58 | 58 |
JButton btnIntervalEnd = new JButton(); |
59 | 59 |
JTextField txtIntervalEnd = new JTextField(); |
60 |
JLabel lblTagsName = new JLabel(); |
|
61 |
JLabel lblTagsValue = new JLabel(); |
|
62 |
JComboBox cboTagsName = new JComboBox(); |
|
63 |
JTextField txtTagsValue = new JTextField(); |
|
64 |
JTable tblTags = new JTable(); |
|
65 |
JLabel lblTagsDescription = new JLabel(); |
|
66 |
JButton btnTagsAdd = new JButton(); |
|
67 |
JButton btnTagsUpdate = new JButton(); |
|
68 |
JButton btnTagsRemove = new JButton(); |
|
69 |
JCheckBox chkIsForeingKey = new JCheckBox(); |
|
70 |
JLabel lblForeingKeyTableName = new JLabel(); |
|
71 |
JLabel lblForeingKeyCodeName = new JLabel(); |
|
72 |
JLabel lblForeingKeyLabelFormula = new JLabel(); |
|
73 |
JComboBox cboForeingKeyTableName = new JComboBox(); |
|
74 |
JComboBox cboForeingKeyCodeName = new JComboBox(); |
|
75 |
JTextField txtForeingKeyFormula = new JTextField(); |
|
76 |
JButton btnForeingKeyFormula = new JButton(); |
|
77 |
JLabel lblIsSelectable = new JLabel(); |
|
78 |
JCheckBox chkIsSelectable = new JCheckBox(); |
|
60 | 79 |
JTabbedPane tabLayout = new JTabbedPane(); |
61 | 80 |
JLabel lblGroup = new JLabel(); |
62 | 81 |
JLabel lblOrder = new JLabel(); |
... | ... | |
81 | 100 |
JComboBox cboAvailableValues = new JComboBox(); |
82 | 101 |
JTextField txtAvailableValuesLabel = new JTextField(); |
83 | 102 |
JTextField txtAvailableValuesValue = new JTextField(); |
84 |
JLabel lblTagsName = new JLabel(); |
|
85 |
JLabel lblTagsValue = new JLabel(); |
|
86 |
JComboBox cboTagsName = new JComboBox(); |
|
87 |
JTextField txtTagsValue = new JTextField(); |
|
88 |
JTable tblTags = new JTable(); |
|
89 |
JLabel lblTagsDescription = new JLabel(); |
|
90 |
JButton btnTagsAdd = new JButton(); |
|
91 |
JButton btnTagsUpdate = new JButton(); |
|
92 |
JButton btnTagsRemove = new JButton(); |
|
93 |
JCheckBox chkIsForeingKey = new JCheckBox(); |
|
94 |
JLabel lblForeingKeyTableName = new JLabel(); |
|
95 |
JLabel lblForeingKeyCodeName = new JLabel(); |
|
96 |
JLabel lblForeingKeyLabelFormula = new JLabel(); |
|
97 |
JComboBox cboForeingKeyTableName = new JComboBox(); |
|
98 |
JComboBox cboForeingKeyCodeName = new JComboBox(); |
|
99 |
JTextField txtForeingKeyFormula = new JTextField(); |
|
100 |
JButton btnForeingKeyFormula = new JButton(); |
|
101 |
JLabel lblIsSelectable = new JLabel(); |
|
102 |
JCheckBox chkIsSelectable = new JCheckBox(); |
|
103 | 103 |
JLabel lblIsPrimaryKey = new JLabel(); |
104 | 104 |
JCheckBox chkIsPrimaryKey = new JCheckBox(); |
105 | 105 |
JLabel lblIsAutomatic = new JLabel(); |
... | ... | |
219 | 219 |
tabAditionalFields.addTab("_Basic_fields",null,createPanel1()); |
220 | 220 |
tabAditionalFields.addTab("_Geometry",null,createPanel3()); |
221 | 221 |
tabAditionalFields.addTab("_Time",null,createPanel5()); |
222 |
tabAditionalFields.addTab("_Visualization",null,createPanel7()); |
|
223 |
tabAditionalFields.addTab("_ForeingKey",null,createPanel15()); |
|
222 |
tabAditionalFields.addTab("_Tags",null,createPanel7()); |
|
223 |
tabAditionalFields.addTab("_ForeingKey",null,createPanel10()); |
|
224 |
tabAditionalFields.addTab("_Visualization",null,createPanel11()); |
|
224 | 225 |
jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1)); |
225 | 226 |
|
226 |
jpanel1.add(createPanel16(),cc.xy(4,6));
|
|
227 |
jpanel1.add(createPanel17(),cc.xy(4,6));
|
|
227 | 228 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
228 | 229 |
return jpanel1; |
229 | 230 |
} |
... | ... | |
416 | 417 |
CellConstraints cc = new CellConstraints(); |
417 | 418 |
jpanel1.setLayout(formlayout1); |
418 | 419 |
|
420 |
jpanel1.add(createPanel8(),cc.xy(1,1)); |
|
421 |
addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 }); |
|
422 |
return jpanel1; |
|
423 |
} |
|
424 |
|
|
425 |
public JPanel createPanel8() |
|
426 |
{ |
|
427 |
JPanel jpanel1 = new JPanel(); |
|
428 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
429 |
CellConstraints cc = new CellConstraints(); |
|
430 |
jpanel1.setLayout(formlayout1); |
|
431 |
|
|
432 |
lblTagsName.setName("lblTagsName"); |
|
433 |
lblTagsName.setText("_Name"); |
|
434 |
jpanel1.add(lblTagsName,cc.xy(2,3)); |
|
435 |
|
|
436 |
lblTagsValue.setName("lblTagsValue"); |
|
437 |
lblTagsValue.setText("_Value"); |
|
438 |
jpanel1.add(lblTagsValue,cc.xy(2,5)); |
|
439 |
|
|
440 |
cboTagsName.setEditable(true); |
|
441 |
cboTagsName.setName("cboTagsName"); |
|
442 |
cboTagsName.setRequestFocusEnabled(false); |
|
443 |
jpanel1.add(cboTagsName,cc.xy(4,3)); |
|
444 |
|
|
445 |
txtTagsValue.setName("txtTagsValue"); |
|
446 |
jpanel1.add(txtTagsValue,cc.xy(4,5)); |
|
447 |
|
|
448 |
tblTags.setName("tblTags"); |
|
449 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
450 |
jscrollpane1.setViewportView(tblTags); |
|
451 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
452 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
453 |
jpanel1.add(jscrollpane1,cc.xywh(2,1,3,1)); |
|
454 |
|
|
455 |
lblTagsDescription.setName("lblTagsDescription"); |
|
456 |
jpanel1.add(lblTagsDescription,cc.xy(4,6)); |
|
457 |
|
|
458 |
jpanel1.add(createPanel9(),cc.xywh(6,1,1,5)); |
|
459 |
addFillComponents(jpanel1,new int[]{ 1,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6 }); |
|
460 |
return jpanel1; |
|
461 |
} |
|
462 |
|
|
463 |
public JPanel createPanel9() |
|
464 |
{ |
|
465 |
JPanel jpanel1 = new JPanel(); |
|
466 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
467 |
CellConstraints cc = new CellConstraints(); |
|
468 |
jpanel1.setLayout(formlayout1); |
|
469 |
|
|
470 |
btnTagsAdd.setActionCommand("_Add"); |
|
471 |
btnTagsAdd.setName("btnTagsAdd"); |
|
472 |
btnTagsAdd.setText("_Add"); |
|
473 |
jpanel1.add(btnTagsAdd,cc.xy(1,1)); |
|
474 |
|
|
475 |
btnTagsUpdate.setActionCommand("_Update"); |
|
476 |
btnTagsUpdate.setName("btnTagsUpdate"); |
|
477 |
btnTagsUpdate.setText("_Update"); |
|
478 |
jpanel1.add(btnTagsUpdate,cc.xy(1,3)); |
|
479 |
|
|
480 |
btnTagsRemove.setActionCommand("_Remove"); |
|
481 |
btnTagsRemove.setName("btnTagsRemove"); |
|
482 |
btnTagsRemove.setText("_Remove"); |
|
483 |
jpanel1.add(btnTagsRemove,cc.xy(1,5)); |
|
484 |
|
|
485 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4 }); |
|
486 |
return jpanel1; |
|
487 |
} |
|
488 |
|
|
489 |
public JPanel createPanel10() |
|
490 |
{ |
|
491 |
JPanel jpanel1 = new JPanel(); |
|
492 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:DEFAULT: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,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
493 |
CellConstraints cc = new CellConstraints(); |
|
494 |
jpanel1.setLayout(formlayout1); |
|
495 |
|
|
496 |
chkIsForeingKey.setActionCommand("_is_foreing_key"); |
|
497 |
chkIsForeingKey.setName("chkIsForeingKey"); |
|
498 |
chkIsForeingKey.setText("_is_foreing_key"); |
|
499 |
jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1)); |
|
500 |
|
|
501 |
lblForeingKeyTableName.setName("lblForeingKeyTableName"); |
|
502 |
lblForeingKeyTableName.setText("_Table"); |
|
503 |
jpanel1.add(lblForeingKeyTableName,cc.xy(2,6)); |
|
504 |
|
|
505 |
lblForeingKeyCodeName.setName("lblForeingKeyCodeName"); |
|
506 |
lblForeingKeyCodeName.setText("_Code"); |
|
507 |
jpanel1.add(lblForeingKeyCodeName,cc.xy(2,8)); |
|
508 |
|
|
509 |
lblForeingKeyLabelFormula.setName("lblForeingKeyLabelFormula"); |
|
510 |
lblForeingKeyLabelFormula.setText("_Label_formula"); |
|
511 |
jpanel1.add(lblForeingKeyLabelFormula,cc.xy(2,10)); |
|
512 |
|
|
513 |
cboForeingKeyTableName.setEditable(true); |
|
514 |
cboForeingKeyTableName.setName("cboForeingKeyTableName"); |
|
515 |
cboForeingKeyTableName.setRequestFocusEnabled(false); |
|
516 |
jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,3,1)); |
|
517 |
|
|
518 |
cboForeingKeyCodeName.setEditable(true); |
|
519 |
cboForeingKeyCodeName.setName("cboForeingKeyCodeName"); |
|
520 |
cboForeingKeyCodeName.setRequestFocusEnabled(false); |
|
521 |
jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,3,1)); |
|
522 |
|
|
523 |
txtForeingKeyFormula.setName("txtForeingKeyFormula"); |
|
524 |
jpanel1.add(txtForeingKeyFormula,cc.xy(4,10)); |
|
525 |
|
|
526 |
btnForeingKeyFormula.setActionCommand("..."); |
|
527 |
btnForeingKeyFormula.setName("btnForeingKeyFormula"); |
|
528 |
btnForeingKeyFormula.setText("..."); |
|
529 |
jpanel1.add(btnForeingKeyFormula,cc.xy(6,10)); |
|
530 |
|
|
531 |
lblIsSelectable.setName("lblIsSelectable"); |
|
532 |
lblIsSelectable.setText("_is_seletable"); |
|
533 |
jpanel1.add(lblIsSelectable,cc.xy(2,4)); |
|
534 |
|
|
535 |
chkIsSelectable.setName("chkIsSelectable"); |
|
536 |
jpanel1.add(chkIsSelectable,cc.xy(4,4)); |
|
537 |
|
|
538 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11 }); |
|
539 |
return jpanel1; |
|
540 |
} |
|
541 |
|
|
542 |
public JPanel createPanel11() |
|
543 |
{ |
|
544 |
JPanel jpanel1 = new JPanel(); |
|
545 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)"); |
|
546 |
CellConstraints cc = new CellConstraints(); |
|
547 |
jpanel1.setLayout(formlayout1); |
|
548 |
|
|
419 | 549 |
tabLayout.setName("tabLayout"); |
420 | 550 |
tabLayout.setTabPlacement(JTabbedPane.LEFT); |
421 |
tabLayout.addTab("_Basic",null,createPanel8()); |
|
422 |
tabLayout.addTab("_Values",null,createPanel9()); |
|
423 |
tabLayout.addTab("_Tags",null,createPanel13()); |
|
551 |
tabLayout.addTab("_Basic",null,createPanel12()); |
|
552 |
tabLayout.addTab("_Values",null,createPanel13()); |
|
424 | 553 |
jpanel1.add(tabLayout,cc.xy(1,1)); |
425 | 554 |
|
426 | 555 |
addFillComponents(jpanel1,new int[0],new int[0]); |
427 | 556 |
return jpanel1; |
428 | 557 |
} |
429 | 558 |
|
430 |
public JPanel createPanel8()
|
|
559 |
public JPanel createPanel12()
|
|
431 | 560 |
{ |
432 | 561 |
JPanel jpanel1 = new JPanel(); |
433 | 562 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU: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(0.2)"); |
... | ... | |
480 | 609 |
return jpanel1; |
481 | 610 |
} |
482 | 611 |
|
483 |
public JPanel createPanel9()
|
|
612 |
public JPanel createPanel13()
|
|
484 | 613 |
{ |
485 | 614 |
JPanel jpanel1 = new JPanel(); |
486 | 615 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
... | ... | |
505 | 634 |
lblAvailableValues.setText("_List_of_values"); |
506 | 635 |
jpanel1.add(lblAvailableValues,cc.xywh(2,6,3,1)); |
507 | 636 |
|
508 |
jpanel1.add(createPanel10(),cc.xywh(2,7,3,1));
|
|
637 |
jpanel1.add(createPanel14(),cc.xywh(2,7,3,1));
|
|
509 | 638 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
510 | 639 |
return jpanel1; |
511 | 640 |
} |
512 | 641 |
|
513 |
public JPanel createPanel10()
|
|
642 |
public JPanel createPanel14()
|
|
514 | 643 |
{ |
515 | 644 |
JPanel jpanel1 = new JPanel(); |
516 | 645 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
517 | 646 |
CellConstraints cc = new CellConstraints(); |
518 | 647 |
jpanel1.setLayout(formlayout1); |
519 | 648 |
|
520 |
jpanel1.add(createPanel11(),cc.xy(3,1));
|
|
521 |
jpanel1.add(createPanel12(),cc.xy(1,1));
|
|
649 |
jpanel1.add(createPanel15(),cc.xy(3,1));
|
|
650 |
jpanel1.add(createPanel16(),cc.xy(1,1));
|
|
522 | 651 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1 }); |
523 | 652 |
return jpanel1; |
524 | 653 |
} |
525 | 654 |
|
526 |
public JPanel createPanel11()
|
|
655 |
public JPanel createPanel15()
|
|
527 | 656 |
{ |
528 | 657 |
JPanel jpanel1 = new JPanel(); |
529 | 658 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:2DLU:GROW(1.0)"); |
... | ... | |
549 | 678 |
return jpanel1; |
550 | 679 |
} |
551 | 680 |
|
552 |
public JPanel createPanel12()
|
|
681 |
public JPanel createPanel16()
|
|
553 | 682 |
{ |
554 | 683 |
JPanel jpanel1 = new JPanel(); |
555 | 684 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
... | ... | |
577 | 706 |
return jpanel1; |
578 | 707 |
} |
579 | 708 |
|
580 |
public JPanel createPanel13()
|
|
709 |
public JPanel createPanel17()
|
|
581 | 710 |
{ |
582 | 711 |
JPanel jpanel1 = new JPanel(); |
583 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
584 |
CellConstraints cc = new CellConstraints(); |
|
585 |
jpanel1.setLayout(formlayout1); |
|
586 |
|
|
587 |
lblTagsName.setName("lblTagsName"); |
|
588 |
lblTagsName.setText("_Name"); |
|
589 |
jpanel1.add(lblTagsName,cc.xy(2,3)); |
|
590 |
|
|
591 |
lblTagsValue.setName("lblTagsValue"); |
|
592 |
lblTagsValue.setText("_Value"); |
|
593 |
jpanel1.add(lblTagsValue,cc.xy(2,5)); |
|
594 |
|
|
595 |
cboTagsName.setEditable(true); |
|
596 |
cboTagsName.setName("cboTagsName"); |
|
597 |
cboTagsName.setRequestFocusEnabled(false); |
|
598 |
jpanel1.add(cboTagsName,cc.xy(4,3)); |
|
599 |
|
|
600 |
txtTagsValue.setName("txtTagsValue"); |
|
601 |
jpanel1.add(txtTagsValue,cc.xy(4,5)); |
|
602 |
|
|
603 |
tblTags.setName("tblTags"); |
|
604 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
605 |
jscrollpane1.setViewportView(tblTags); |
|
606 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
607 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
608 |
jpanel1.add(jscrollpane1,cc.xywh(2,1,3,1)); |
|
609 |
|
|
610 |
lblTagsDescription.setName("lblTagsDescription"); |
|
611 |
jpanel1.add(lblTagsDescription,cc.xy(4,6)); |
|
612 |
|
|
613 |
jpanel1.add(createPanel14(),cc.xywh(6,1,1,5)); |
|
614 |
addFillComponents(jpanel1,new int[]{ 1,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6 }); |
|
615 |
return jpanel1; |
|
616 |
} |
|
617 |
|
|
618 |
public JPanel createPanel14() |
|
619 |
{ |
|
620 |
JPanel jpanel1 = new JPanel(); |
|
621 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
622 |
CellConstraints cc = new CellConstraints(); |
|
623 |
jpanel1.setLayout(formlayout1); |
|
624 |
|
|
625 |
btnTagsAdd.setActionCommand("_Add"); |
|
626 |
btnTagsAdd.setName("btnTagsAdd"); |
|
627 |
btnTagsAdd.setText("_Add"); |
|
628 |
jpanel1.add(btnTagsAdd,cc.xy(1,1)); |
|
629 |
|
|
630 |
btnTagsUpdate.setActionCommand("_Update"); |
|
631 |
btnTagsUpdate.setName("btnTagsUpdate"); |
|
632 |
btnTagsUpdate.setText("_Update"); |
|
633 |
jpanel1.add(btnTagsUpdate,cc.xy(1,3)); |
|
634 |
|
|
635 |
btnTagsRemove.setActionCommand("_Remove"); |
|
636 |
btnTagsRemove.setName("btnTagsRemove"); |
|
637 |
btnTagsRemove.setText("_Remove"); |
|
638 |
jpanel1.add(btnTagsRemove,cc.xy(1,5)); |
|
639 |
|
|
640 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4 }); |
|
641 |
return jpanel1; |
|
642 |
} |
|
643 |
|
|
644 |
public JPanel createPanel15() |
|
645 |
{ |
|
646 |
JPanel jpanel1 = new JPanel(); |
|
647 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:DEFAULT: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,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
648 |
CellConstraints cc = new CellConstraints(); |
|
649 |
jpanel1.setLayout(formlayout1); |
|
650 |
|
|
651 |
chkIsForeingKey.setActionCommand("_is_foreing_key"); |
|
652 |
chkIsForeingKey.setName("chkIsForeingKey"); |
|
653 |
chkIsForeingKey.setText("_is_foreing_key"); |
|
654 |
jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1)); |
|
655 |
|
|
656 |
lblForeingKeyTableName.setName("lblForeingKeyTableName"); |
|
657 |
lblForeingKeyTableName.setText("_Table"); |
|
658 |
jpanel1.add(lblForeingKeyTableName,cc.xy(2,6)); |
|
659 |
|
|
660 |
lblForeingKeyCodeName.setName("lblForeingKeyCodeName"); |
|
661 |
lblForeingKeyCodeName.setText("_Code"); |
|
662 |
jpanel1.add(lblForeingKeyCodeName,cc.xy(2,8)); |
|
663 |
|
|
664 |
lblForeingKeyLabelFormula.setName("lblForeingKeyLabelFormula"); |
|
665 |
lblForeingKeyLabelFormula.setText("_Label_formula"); |
|
666 |
jpanel1.add(lblForeingKeyLabelFormula,cc.xy(2,10)); |
|
667 |
|
|
668 |
cboForeingKeyTableName.setEditable(true); |
|
669 |
cboForeingKeyTableName.setName("cboForeingKeyTableName"); |
|
670 |
cboForeingKeyTableName.setRequestFocusEnabled(false); |
|
671 |
jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,3,1)); |
|
672 |
|
|
673 |
cboForeingKeyCodeName.setEditable(true); |
|
674 |
cboForeingKeyCodeName.setName("cboForeingKeyCodeName"); |
|
675 |
cboForeingKeyCodeName.setRequestFocusEnabled(false); |
|
676 |
jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,3,1)); |
|
677 |
|
|
678 |
txtForeingKeyFormula.setName("txtForeingKeyFormula"); |
|
679 |
jpanel1.add(txtForeingKeyFormula,cc.xy(4,10)); |
|
680 |
|
|
681 |
btnForeingKeyFormula.setActionCommand("..."); |
|
682 |
btnForeingKeyFormula.setName("btnForeingKeyFormula"); |
|
683 |
btnForeingKeyFormula.setText("..."); |
|
684 |
jpanel1.add(btnForeingKeyFormula,cc.xy(6,10)); |
|
685 |
|
|
686 |
lblIsSelectable.setName("lblIsSelectable"); |
|
687 |
lblIsSelectable.setText("_is_seletable"); |
|
688 |
jpanel1.add(lblIsSelectable,cc.xy(2,4)); |
|
689 |
|
|
690 |
chkIsSelectable.setName("chkIsSelectable"); |
|
691 |
jpanel1.add(chkIsSelectable,cc.xy(4,4)); |
|
692 |
|
|
693 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11 }); |
|
694 |
return jpanel1; |
|
695 |
} |
|
696 |
|
|
697 |
public JPanel createPanel16() |
|
698 |
{ |
|
699 |
JPanel jpanel1 = new JPanel(); |
|
700 | 712 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
701 | 713 |
CellConstraints cc = new CellConstraints(); |
702 | 714 |
jpanel1.setLayout(formlayout1); |
Also available in: Unified diff