Revision 44202 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 | ||
---|---|---|
15 | 15 |
import javax.swing.JFrame; |
16 | 16 |
import javax.swing.JLabel; |
17 | 17 |
import javax.swing.JPanel; |
18 |
import javax.swing.JScrollPane; |
|
18 | 19 |
import javax.swing.JTabbedPane; |
20 |
import javax.swing.JTextArea; |
|
19 | 21 |
import javax.swing.JTextField; |
20 | 22 |
import javax.swing.border.EmptyBorder; |
21 | 23 |
|
... | ... | |
26 | 28 |
JTextField txtFieldName = new JTextField(); |
27 | 29 |
JLabel lblFieldType = new JLabel(); |
28 | 30 |
JComboBox cboFieldType = new JComboBox(); |
31 |
JLabel lblIsPrimaryKey = new JLabel(); |
|
32 |
JCheckBox chkIsPrimaryKey = new JCheckBox(); |
|
33 |
JLabel lblIsAutomatic = new JLabel(); |
|
34 |
JCheckBox chkIsAutomatic = new JCheckBox(); |
|
35 |
JLabel lblAllowNulls = new JLabel(); |
|
36 |
JCheckBox chkAllowNulls = new JCheckBox(); |
|
29 | 37 |
JTabbedPane tabAditionalFields = new JTabbedPane(); |
30 | 38 |
JLabel lblSize = new JLabel(); |
31 | 39 |
JTextField txtSize = new JTextField(); |
... | ... | |
54 | 62 |
JButton btnIntervalStart = new JButton(); |
55 | 63 |
JButton btnIntervalEnd = new JButton(); |
56 | 64 |
JTextField txtIntervalEnd = new JTextField(); |
57 |
JLabel lblIsPrimaryKey = new JLabel(); |
|
58 |
JCheckBox chkIsPrimaryKey = new JCheckBox(); |
|
59 |
JLabel lblIsAutomatic = new JLabel(); |
|
60 |
JCheckBox chkIsAutomatic = new JCheckBox(); |
|
61 |
JLabel lblAllowNulls = new JLabel(); |
|
62 |
JCheckBox chkAllowNulls = new JCheckBox(); |
|
65 |
JTabbedPane tabLayout = new JTabbedPane(); |
|
66 |
JLabel lblGroup = new JLabel(); |
|
67 |
JLabel lblOrder = new JLabel(); |
|
68 |
JComboBox cboGroup = new JComboBox(); |
|
69 |
JTextField txtOrder = new JTextField(); |
|
70 |
JLabel lblHidden = new JLabel(); |
|
71 |
JCheckBox chkHidden = new JCheckBox(); |
|
72 |
JLabel lblLabel = new JLabel(); |
|
73 |
JTextField txtLabel = new JTextField(); |
|
74 |
JLabel lblDescription = new JLabel(); |
|
75 |
JTextArea txtDescription = new JTextArea(); |
|
76 |
JLabel lblMinValue = new JLabel(); |
|
77 |
JTextField txtMinValue = new JTextField(); |
|
78 |
JLabel lblMaxValue = new JLabel(); |
|
79 |
JTextField txtMaxValue = new JTextField(); |
|
80 |
JLabel lblAvailableValues = new JLabel(); |
|
81 |
JButton btnAvailableValuesAdd = new JButton(); |
|
82 |
JButton btnAvailableValuesUpdate = new JButton(); |
|
83 |
JButton btnAvailableValuesRemove = new JButton(); |
|
84 |
JLabel lblAvailableValuesLabel = new JLabel(); |
|
85 |
JLabel lblAvailableValuesValue = new JLabel(); |
|
86 |
JComboBox cboAvailableValues = new JComboBox(); |
|
87 |
JTextField txtAvailableValuesLabel = new JTextField(); |
|
88 |
JTextField txtAvailableValuesValue = new JTextField(); |
|
63 | 89 |
|
64 | 90 |
/** |
65 | 91 |
* Default constructor |
... | ... | |
169 | 195 |
cboFieldType.setName("cboFieldType"); |
170 | 196 |
jpanel1.add(cboFieldType,cc.xy(4,4)); |
171 | 197 |
|
198 |
jpanel1.add(createPanel1(),cc.xy(4,6)); |
|
172 | 199 |
tabAditionalFields.setName("tabAditionalFields"); |
173 |
tabAditionalFields.addTab("_Basic_fields",null,createPanel1()); |
|
174 |
tabAditionalFields.addTab("_Geometry",null,createPanel3()); |
|
175 |
tabAditionalFields.addTab("_Time",null,createPanel5()); |
|
200 |
tabAditionalFields.addTab("_Basic_fields",null,createPanel2()); |
|
201 |
tabAditionalFields.addTab("_Geometry",null,createPanel4()); |
|
202 |
tabAditionalFields.addTab("_Time",null,createPanel6()); |
|
203 |
tabAditionalFields.addTab("_Visualization",null,createPanel8()); |
|
176 | 204 |
jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1)); |
177 | 205 |
|
178 |
jpanel1.add(createPanel7(),cc.xy(4,6)); |
|
179 | 206 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
180 | 207 |
return jpanel1; |
181 | 208 |
} |
... | ... | |
183 | 210 |
public JPanel createPanel1() |
184 | 211 |
{ |
185 | 212 |
JPanel jpanel1 = new JPanel(); |
213 |
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"); |
|
214 |
CellConstraints cc = new CellConstraints(); |
|
215 |
jpanel1.setLayout(formlayout1); |
|
216 |
|
|
217 |
lblIsPrimaryKey.setName("lblIsPrimaryKey"); |
|
218 |
lblIsPrimaryKey.setText("_Primary_key"); |
|
219 |
jpanel1.add(lblIsPrimaryKey,cc.xy(1,1)); |
|
220 |
|
|
221 |
chkIsPrimaryKey.setName("chkIsPrimaryKey"); |
|
222 |
jpanel1.add(chkIsPrimaryKey,cc.xy(3,1)); |
|
223 |
|
|
224 |
lblIsAutomatic.setName("lblIsAutomatic"); |
|
225 |
lblIsAutomatic.setText("_Value_automatic"); |
|
226 |
jpanel1.add(lblIsAutomatic,cc.xy(5,1)); |
|
227 |
|
|
228 |
chkIsAutomatic.setName("chkIsAutomatic"); |
|
229 |
jpanel1.add(chkIsAutomatic,cc.xy(7,1)); |
|
230 |
|
|
231 |
lblAllowNulls.setName("lblAllowNulls"); |
|
232 |
lblAllowNulls.setText("_Allow_nulls"); |
|
233 |
jpanel1.add(lblAllowNulls,cc.xy(9,1)); |
|
234 |
|
|
235 |
chkAllowNulls.setName("chkAllowNulls"); |
|
236 |
jpanel1.add(chkAllowNulls,cc.xy(11,1)); |
|
237 |
|
|
238 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8,10,12 },new int[0]); |
|
239 |
return jpanel1; |
|
240 |
} |
|
241 |
|
|
242 |
public JPanel createPanel2() |
|
243 |
{ |
|
244 |
JPanel jpanel1 = new JPanel(); |
|
186 | 245 |
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,CENTER:DEFAULT:NONE"); |
187 | 246 |
CellConstraints cc = new CellConstraints(); |
188 | 247 |
jpanel1.setLayout(formlayout1); |
... | ... | |
220 | 279 |
chkVirtualField.setText("_Virtual_field"); |
221 | 280 |
jpanel1.add(chkVirtualField,cc.xy(2,10)); |
222 | 281 |
|
223 |
jpanel1.add(createPanel2(),cc.xy(4,10));
|
|
282 |
jpanel1.add(createPanel3(),cc.xy(4,10));
|
|
224 | 283 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10 }); |
225 | 284 |
return jpanel1; |
226 | 285 |
} |
227 | 286 |
|
228 |
public JPanel createPanel2()
|
|
287 |
public JPanel createPanel3()
|
|
229 | 288 |
{ |
230 | 289 |
JPanel jpanel1 = new JPanel(); |
231 | 290 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
... | ... | |
246 | 305 |
return jpanel1; |
247 | 306 |
} |
248 | 307 |
|
249 |
public JPanel createPanel3()
|
|
308 |
public JPanel createPanel4()
|
|
250 | 309 |
{ |
251 | 310 |
JPanel jpanel1 = new JPanel(); |
252 | 311 |
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"); |
... | ... | |
271 | 330 |
cboGeometrySubtype.setName("cboGeometrySubtype"); |
272 | 331 |
jpanel1.add(cboGeometrySubtype,cc.xy(4,4)); |
273 | 332 |
|
274 |
jpanel1.add(createPanel4(),cc.xy(4,6));
|
|
333 |
jpanel1.add(createPanel5(),cc.xy(4,6));
|
|
275 | 334 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
276 | 335 |
return jpanel1; |
277 | 336 |
} |
278 | 337 |
|
279 |
public JPanel createPanel4()
|
|
338 |
public JPanel createPanel5()
|
|
280 | 339 |
{ |
281 | 340 |
JPanel jpanel1 = new JPanel(); |
282 | 341 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
... | ... | |
297 | 356 |
return jpanel1; |
298 | 357 |
} |
299 | 358 |
|
300 |
public JPanel createPanel5()
|
|
359 |
public JPanel createPanel6()
|
|
301 | 360 |
{ |
302 | 361 |
JPanel jpanel1 = new JPanel(); |
303 | 362 |
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:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
... | ... | |
317 | 376 |
lblInterval.setText("_Interval"); |
318 | 377 |
jpanel1.add(lblInterval,new CellConstraints(2,5,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
319 | 378 |
|
320 |
jpanel1.add(createPanel6(),cc.xy(4,5));
|
|
379 |
jpanel1.add(createPanel7(),cc.xy(4,5));
|
|
321 | 380 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6 }); |
322 | 381 |
return jpanel1; |
323 | 382 |
} |
324 | 383 |
|
325 |
public JPanel createPanel6()
|
|
384 |
public JPanel createPanel7()
|
|
326 | 385 |
{ |
327 | 386 |
JPanel jpanel1 = new JPanel(); |
328 | 387 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
... | ... | |
361 | 420 |
return jpanel1; |
362 | 421 |
} |
363 | 422 |
|
364 |
public JPanel createPanel7()
|
|
423 |
public JPanel createPanel8()
|
|
365 | 424 |
{ |
366 | 425 |
JPanel jpanel1 = new JPanel(); |
367 |
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");
|
|
426 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)");
|
|
368 | 427 |
CellConstraints cc = new CellConstraints(); |
369 | 428 |
jpanel1.setLayout(formlayout1); |
370 | 429 |
|
371 |
lblIsPrimaryKey.setName("lblIsPrimaryKey"); |
|
372 |
lblIsPrimaryKey.setText("_Primary_key"); |
|
373 |
jpanel1.add(lblIsPrimaryKey,cc.xy(1,1)); |
|
430 |
tabLayout.setName("tabLayout"); |
|
431 |
tabLayout.setTabPlacement(JTabbedPane.LEFT); |
|
432 |
tabLayout.addTab("_Basic",null,createPanel9()); |
|
433 |
tabLayout.addTab("_Values",null,createPanel10()); |
|
434 |
tabLayout.addTab("_Tags",null,createPanel14()); |
|
435 |
jpanel1.add(tabLayout,cc.xy(1,1)); |
|
374 | 436 |
|
375 |
chkIsPrimaryKey.setName("chkIsPrimaryKey"); |
|
376 |
jpanel1.add(chkIsPrimaryKey,cc.xy(3,1)); |
|
437 |
addFillComponents(jpanel1,new int[0],new int[0]); |
|
438 |
return jpanel1; |
|
439 |
} |
|
377 | 440 |
|
378 |
lblIsAutomatic.setName("lblIsAutomatic"); |
|
379 |
lblIsAutomatic.setText("_Value_automatic"); |
|
380 |
jpanel1.add(lblIsAutomatic,cc.xy(5,1)); |
|
441 |
public JPanel createPanel9() |
|
442 |
{ |
|
443 |
JPanel jpanel1 = new JPanel(); |
|
444 |
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(1.0)"); |
|
445 |
CellConstraints cc = new CellConstraints(); |
|
446 |
jpanel1.setLayout(formlayout1); |
|
381 | 447 |
|
382 |
chkIsAutomatic.setName("chkIsAutomatic"); |
|
383 |
jpanel1.add(chkIsAutomatic,cc.xy(7,1)); |
|
448 |
lblGroup.setName("lblGroup"); |
|
449 |
lblGroup.setText("_Group"); |
|
450 |
jpanel1.add(lblGroup,cc.xy(2,2)); |
|
384 | 451 |
|
385 |
lblAllowNulls.setName("lblAllowNulls");
|
|
386 |
lblAllowNulls.setText("_Allow_nulls");
|
|
387 |
jpanel1.add(lblAllowNulls,cc.xy(9,1));
|
|
452 |
lblOrder.setName("lblOrder");
|
|
453 |
lblOrder.setText("_Order");
|
|
454 |
jpanel1.add(lblOrder,cc.xy(2,4));
|
|
388 | 455 |
|
389 |
chkAllowNulls.setName("chkAllowNulls"); |
|
390 |
jpanel1.add(chkAllowNulls,cc.xy(11,1)); |
|
456 |
cboGroup.setEditable(true); |
|
457 |
cboGroup.setName("cboGroup"); |
|
458 |
cboGroup.setRequestFocusEnabled(false); |
|
459 |
jpanel1.add(cboGroup,cc.xy(4,2)); |
|
391 | 460 |
|
392 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8,10,12 },new int[0]); |
|
461 |
txtOrder.setName("txtOrder"); |
|
462 |
jpanel1.add(txtOrder,cc.xy(4,4)); |
|
463 |
|
|
464 |
lblHidden.setName("lblHidden"); |
|
465 |
lblHidden.setText("_Hidden"); |
|
466 |
jpanel1.add(lblHidden,cc.xy(2,6)); |
|
467 |
|
|
468 |
chkHidden.setName("chkHidden"); |
|
469 |
jpanel1.add(chkHidden,cc.xy(4,6)); |
|
470 |
|
|
471 |
lblLabel.setName("lblLabel"); |
|
472 |
lblLabel.setText("_Label"); |
|
473 |
jpanel1.add(lblLabel,cc.xy(2,8)); |
|
474 |
|
|
475 |
txtLabel.setName("txtLabel"); |
|
476 |
jpanel1.add(txtLabel,cc.xy(4,8)); |
|
477 |
|
|
478 |
lblDescription.setName("lblDescription"); |
|
479 |
lblDescription.setText("_Description"); |
|
480 |
lblDescription.setVerticalAlignment(JLabel.TOP); |
|
481 |
jpanel1.add(lblDescription,new CellConstraints(2,10,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
482 |
|
|
483 |
txtDescription.setName("txtDescription"); |
|
484 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
485 |
jscrollpane1.setViewportView(txtDescription); |
|
486 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
487 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
488 |
jpanel1.add(jscrollpane1,cc.xy(4,10)); |
|
489 |
|
|
490 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10 }); |
|
393 | 491 |
return jpanel1; |
394 | 492 |
} |
395 | 493 |
|
494 |
public JPanel createPanel10() |
|
495 |
{ |
|
496 |
JPanel jpanel1 = new JPanel(); |
|
497 |
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"); |
|
498 |
CellConstraints cc = new CellConstraints(); |
|
499 |
jpanel1.setLayout(formlayout1); |
|
500 |
|
|
501 |
lblMinValue.setName("lblMinValue"); |
|
502 |
lblMinValue.setText("_Minimum_value"); |
|
503 |
jpanel1.add(lblMinValue,cc.xy(2,2)); |
|
504 |
|
|
505 |
txtMinValue.setName("txtMinValue"); |
|
506 |
jpanel1.add(txtMinValue,cc.xy(4,2)); |
|
507 |
|
|
508 |
lblMaxValue.setName("lblMaxValue"); |
|
509 |
lblMaxValue.setText("_Maximum_value"); |
|
510 |
jpanel1.add(lblMaxValue,cc.xy(2,4)); |
|
511 |
|
|
512 |
txtMaxValue.setName("txtMaxValue"); |
|
513 |
jpanel1.add(txtMaxValue,cc.xy(4,4)); |
|
514 |
|
|
515 |
lblAvailableValues.setName("lblAvailableValues"); |
|
516 |
lblAvailableValues.setText("_List_of_values"); |
|
517 |
jpanel1.add(lblAvailableValues,cc.xywh(2,6,3,1)); |
|
518 |
|
|
519 |
jpanel1.add(createPanel11(),cc.xywh(2,7,3,1)); |
|
520 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
|
521 |
return jpanel1; |
|
522 |
} |
|
523 |
|
|
524 |
public JPanel createPanel11() |
|
525 |
{ |
|
526 |
JPanel jpanel1 = new JPanel(); |
|
527 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
528 |
CellConstraints cc = new CellConstraints(); |
|
529 |
jpanel1.setLayout(formlayout1); |
|
530 |
|
|
531 |
jpanel1.add(createPanel12(),cc.xy(3,1)); |
|
532 |
jpanel1.add(createPanel13(),cc.xy(1,1)); |
|
533 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1 }); |
|
534 |
return jpanel1; |
|
535 |
} |
|
536 |
|
|
537 |
public JPanel createPanel12() |
|
538 |
{ |
|
539 |
JPanel jpanel1 = new JPanel(); |
|
540 |
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)"); |
|
541 |
CellConstraints cc = new CellConstraints(); |
|
542 |
jpanel1.setLayout(formlayout1); |
|
543 |
|
|
544 |
btnAvailableValuesAdd.setActionCommand("_Add"); |
|
545 |
btnAvailableValuesAdd.setName("btnAvailableValuesAdd"); |
|
546 |
btnAvailableValuesAdd.setText("_Add"); |
|
547 |
jpanel1.add(btnAvailableValuesAdd,cc.xy(1,1)); |
|
548 |
|
|
549 |
btnAvailableValuesUpdate.setActionCommand("_Update"); |
|
550 |
btnAvailableValuesUpdate.setName("btnAvailableValuesUpdate"); |
|
551 |
btnAvailableValuesUpdate.setText("_Update"); |
|
552 |
jpanel1.add(btnAvailableValuesUpdate,cc.xy(1,3)); |
|
553 |
|
|
554 |
btnAvailableValuesRemove.setActionCommand("_Remove"); |
|
555 |
btnAvailableValuesRemove.setName("btnAvailableValuesRemove"); |
|
556 |
btnAvailableValuesRemove.setText("_Remove"); |
|
557 |
jpanel1.add(btnAvailableValuesRemove,cc.xy(1,5)); |
|
558 |
|
|
559 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4,6 }); |
|
560 |
return jpanel1; |
|
561 |
} |
|
562 |
|
|
563 |
public JPanel createPanel13() |
|
564 |
{ |
|
565 |
JPanel jpanel1 = new JPanel(); |
|
566 |
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"); |
|
567 |
CellConstraints cc = new CellConstraints(); |
|
568 |
jpanel1.setLayout(formlayout1); |
|
569 |
|
|
570 |
lblAvailableValuesLabel.setName("lblAvailableValuesLabel"); |
|
571 |
lblAvailableValuesLabel.setText("_Label"); |
|
572 |
jpanel1.add(lblAvailableValuesLabel,cc.xy(1,3)); |
|
573 |
|
|
574 |
lblAvailableValuesValue.setName("lblAvailableValuesValue"); |
|
575 |
lblAvailableValuesValue.setText("_Value"); |
|
576 |
jpanel1.add(lblAvailableValuesValue,cc.xy(1,5)); |
|
577 |
|
|
578 |
cboAvailableValues.setName("cboAvailableValues"); |
|
579 |
jpanel1.add(cboAvailableValues,cc.xywh(1,1,3,1)); |
|
580 |
|
|
581 |
txtAvailableValuesLabel.setName("txtAvailableValuesLabel"); |
|
582 |
jpanel1.add(txtAvailableValuesLabel,cc.xy(3,3)); |
|
583 |
|
|
584 |
txtAvailableValuesValue.setName("txtAvailableValuesValue"); |
|
585 |
jpanel1.add(txtAvailableValuesValue,cc.xy(3,5)); |
|
586 |
|
|
587 |
addFillComponents(jpanel1,new int[]{ 2,3 },new int[]{ 2,4,6 }); |
|
588 |
return jpanel1; |
|
589 |
} |
|
590 |
|
|
591 |
public JPanel createPanel14() |
|
592 |
{ |
|
593 |
JPanel jpanel1 = new JPanel(); |
|
594 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
595 |
CellConstraints cc = new CellConstraints(); |
|
596 |
jpanel1.setLayout(formlayout1); |
|
597 |
|
|
598 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 }); |
|
599 |
return jpanel1; |
|
600 |
} |
|
601 |
|
|
396 | 602 |
/** |
397 | 603 |
* Initializer |
398 | 604 |
*/ |
Also available in: Unified diff