Revision 46737 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/DefaultFeatureAttributePanelView.java

View differences:

DefaultFeatureAttributePanelView.java
1 1
package org.gvsig.fmap.dal.swing.impl.featuretype;
2 2

  
3 3
import com.jeta.forms.components.line.HorizontalLineComponent;
4
import com.jeta.forms.components.separator.TitledSeparator;
5
import com.jeta.open.i18n.I18NUtils;
4 6
import com.jgoodies.forms.layout.CellConstraints;
5 7
import com.jgoodies.forms.layout.FormLayout;
6 8
import java.awt.BorderLayout;
......
12 14
import javax.swing.JButton;
13 15
import javax.swing.JCheckBox;
14 16
import javax.swing.JComboBox;
17
import javax.swing.JFrame;
15 18
import javax.swing.JLabel;
16 19
import javax.swing.JList;
17 20
import javax.swing.JPanel;
......
37 40
   JTextField txtDefaultValue = new JTextField();
38 41
   JLabel lblDataProfile = new JLabel();
39 42
   JComboBox cboDataProfile = new JComboBox();
40
   JCheckBox chkVirtualField = new JCheckBox();
41 43
   JLabel lblScale = new JLabel();
42 44
   JTextField txtScale = new JTextField();
43 45
   JLabel lblRelationType = new JLabel();
44 46
   JComboBox cboRelationType = new JComboBox();
45 47
   JLabel lblDisplaySize = new JLabel();
46 48
   JTextField txtDisplaySize = new JTextField();
47
   JButton btnVirtualFieldBookmarks = new JButton();
48
   JTextField txtVirtualField = new JTextField();
49
   JButton btnVirtualFieldHistory = new JButton();
50
   JButton btnVirtualField = new JButton();
51 49
   JLabel lblDefaultFormat = new JLabel();
52 50
   JTextField txtDefaultFormat = new JTextField();
51
   TitledSeparator lblVirtualFieldSep = new TitledSeparator();
52
   JLabel lblVirtualField = new JLabel();
53
   JCheckBox chkVirtualField = new JCheckBox();
54
   JLabel lblVirtualFieldGetter = new JLabel();
55
   JLabel lblVirtualFieldSetter = new JLabel();
56
   JButton btnVirtualFieldBookmarksGetter = new JButton();
57
   JTextField txtVirtualFieldGetter = new JTextField();
58
   JButton btnVirtualFieldHistoryGetter = new JButton();
59
   JButton btnVirtualFieldGetter = new JButton();
60
   JButton btnVirtualFieldBookmarksSetter = new JButton();
61
   JTextField txtVirtualFieldSetter = new JTextField();
62
   JButton btnVirtualFieldHistorySetter = new JButton();
63
   JButton btnVirtualFieldSetter = new JButton();
53 64
   JLabel lblGeometryType = new JLabel();
54 65
   JLabel lblGeometrySubtype = new JLabel();
55 66
   JLabel lblCRS = new JLabel();
......
242 253
      tabAditionalFields.setName("tabAditionalFields");
243 254
      tabAditionalFields.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
244 255
      tabAditionalFields.addTab("_Basic_fields",null,createPanel1());
245
      tabAditionalFields.addTab("_Geometry",null,createPanel3());
246
      tabAditionalFields.addTab("_Time",null,createPanel5());
247
      tabAditionalFields.addTab("_Tags",null,createPanel7());
248
      tabAditionalFields.addTab("_ForeingKey",null,createPanel10());
249
      tabAditionalFields.addTab("_Visualization",null,createPanel11());
256
      tabAditionalFields.addTab("_Geometry",null,createPanel4());
257
      tabAditionalFields.addTab("_Time",null,createPanel6());
258
      tabAditionalFields.addTab("_Tags",null,createPanel8());
259
      tabAditionalFields.addTab("_ForeingKey",null,createPanel11());
260
      tabAditionalFields.addTab("_Visualization",null,createPanel12());
250 261
      jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1));
251 262

  
252
      jpanel1.add(createPanel16(),cc.xy(4,6));
253
      jpanel1.add(createPanel17(),cc.xy(4,4));
263
      jpanel1.add(createPanel17(),cc.xy(4,6));
264
      jpanel1.add(createPanel18(),cc.xy(4,4));
254 265
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 });
255 266
      return jpanel1;
256 267
   }
......
258 269
   public JPanel createPanel1()
259 270
   {
260 271
      JPanel jpanel1 = new JPanel();
261
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL: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,CENTER:DEFAULT:NONE,CENTER:3PX:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
272
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL: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,CENTER:DEFAULT:NONE,CENTER:3PX: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,CENTER:DEFAULT:NONE");
262 273
      CellConstraints cc = new CellConstraints();
263 274
      jpanel1.setLayout(formlayout1);
264 275

  
......
292 303
      cboDataProfile.setName("cboDataProfile");
293 304
      jpanel1.add(cboDataProfile,cc.xy(4,14));
294 305

  
295
      chkVirtualField.setActionCommand("Campo virtual");
296
      chkVirtualField.setName("chkVirtualField");
297
      chkVirtualField.setRolloverEnabled(true);
298
      chkVirtualField.setText("_Virtual_field");
299
      jpanel1.add(chkVirtualField,cc.xy(2,16));
300

  
301 306
      lblScale.setName("lblScale");
302 307
      lblScale.setText("_Decimal_digits_escale");
303 308
      lblScale.setToolTipText("_Number_of_decimal_digits_used_to_represent_the_number");
......
309 314

  
310 315
      lblRelationType.setName("lblRelationType");
311 316
      lblRelationType.setText("_Relation_type");
312
      jpanel1.add(lblRelationType,cc.xy(2,18));
317
      jpanel1.add(lblRelationType,cc.xy(2,16));
313 318

  
314 319
      cboRelationType.setName("cboRelationType");
315
      jpanel1.add(cboRelationType,cc.xy(4,18));
320
      jpanel1.add(cboRelationType,cc.xy(4,16));
316 321

  
317 322
      lblDisplaySize.setName("lblDisplaySize");
318 323
      lblDisplaySize.setText("_Characters_in_display");
......
323 328
      txtDisplaySize.setToolTipText("_Number_of_bytes_required_to_store_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated_This_value_is_dependent_on_the_type_of_layer");
324 329
      jpanel1.add(txtDisplaySize,cc.xy(4,2));
325 330

  
326
      jpanel1.add(createPanel2(),cc.xy(4,16));
327 331
      lblDefaultFormat.setName("lblDefaultFormat");
328 332
      lblDefaultFormat.setText("_Default_format");
329 333
      jpanel1.add(lblDefaultFormat,cc.xy(2,12));
......
331 335
      txtDefaultFormat.setName("txtDefaultFormat");
332 336
      jpanel1.add(txtDefaultFormat,cc.xy(4,12));
333 337

  
334
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 });
338
      lblVirtualFieldSep.setName("lblVirtualFieldSep");
339
      lblVirtualFieldSep.setText("_Virtual_field");
340
      jpanel1.add(lblVirtualFieldSep,cc.xywh(2,18,3,1));
341

  
342
      lblVirtualField.setName("lblVirtualField");
343
      lblVirtualField.setText("_Virtual_field");
344
      jpanel1.add(lblVirtualField,cc.xy(2,20));
345

  
346
      chkVirtualField.setActionCommand("Campo virtual");
347
      chkVirtualField.setName("chkVirtualField");
348
      jpanel1.add(chkVirtualField,cc.xy(4,20));
349

  
350
      lblVirtualFieldGetter.setName("lblVirtualFieldGetter");
351
      lblVirtualFieldGetter.setText("_Expression_get");
352
      jpanel1.add(lblVirtualFieldGetter,cc.xy(2,22));
353

  
354
      lblVirtualFieldSetter.setName("lblVirtualFieldSetter");
355
      lblVirtualFieldSetter.setText("_Expression_set");
356
      jpanel1.add(lblVirtualFieldSetter,cc.xy(2,24));
357

  
358
      jpanel1.add(createPanel2(),cc.xy(4,22));
359
      jpanel1.add(createPanel3(),cc.xy(4,24));
360
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24 });
335 361
      return jpanel1;
336 362
   }
337 363

  
338 364
   public JPanel createPanel2()
339 365
   {
340 366
      JPanel jpanel1 = new JPanel();
341
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
367
      FormLayout formlayout1 = new FormLayout("FILL:MAX(200PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
342 368
      CellConstraints cc = new CellConstraints();
343 369
      jpanel1.setLayout(formlayout1);
344 370

  
345
      btnVirtualFieldBookmarks.setActionCommand("...");
346
      btnVirtualFieldBookmarks.setName("btnVirtualFieldBookmarks");
347
      btnVirtualFieldBookmarks.setRolloverEnabled(true);
348
      btnVirtualFieldBookmarks.setText("...");
371
      btnVirtualFieldBookmarksGetter.setActionCommand("...");
372
      btnVirtualFieldBookmarksGetter.setName("btnVirtualFieldBookmarksGetter");
373
      btnVirtualFieldBookmarksGetter.setText("...");
349 374
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
350
      btnVirtualFieldBookmarks.setBorder(emptyborder1);
351
      jpanel1.add(btnVirtualFieldBookmarks,cc.xy(7,1));
375
      btnVirtualFieldBookmarksGetter.setBorder(emptyborder1);
376
      jpanel1.add(btnVirtualFieldBookmarksGetter,cc.xy(7,1));
352 377

  
353
      txtVirtualField.setName("txtVirtualField");
354
      jpanel1.add(txtVirtualField,cc.xy(1,1));
378
      txtVirtualFieldGetter.setName("txtVirtualFieldGetter");
379
      jpanel1.add(txtVirtualFieldGetter,cc.xy(1,1));
355 380

  
356
      btnVirtualFieldHistory.setActionCommand("...");
357
      btnVirtualFieldHistory.setName("btnVirtualFieldHistory");
358
      btnVirtualFieldHistory.setRolloverEnabled(true);
359
      btnVirtualFieldHistory.setText("...");
381
      btnVirtualFieldHistoryGetter.setActionCommand("...");
382
      btnVirtualFieldHistoryGetter.setName("btnVirtualFieldHistoryGetter");
383
      btnVirtualFieldHistoryGetter.setText("...");
360 384
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
361
      btnVirtualFieldHistory.setBorder(emptyborder2);
362
      jpanel1.add(btnVirtualFieldHistory,cc.xy(5,1));
385
      btnVirtualFieldHistoryGetter.setBorder(emptyborder2);
386
      jpanel1.add(btnVirtualFieldHistoryGetter,cc.xy(5,1));
363 387

  
364
      btnVirtualField.setActionCommand("...");
365
      btnVirtualField.setName("btnVirtualField");
366
      btnVirtualField.setRolloverEnabled(true);
367
      btnVirtualField.setText("...");
388
      btnVirtualFieldGetter.setActionCommand("...");
389
      btnVirtualFieldGetter.setName("btnVirtualFieldGetter");
390
      btnVirtualFieldGetter.setText("...");
368 391
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
369
      btnVirtualField.setBorder(emptyborder3);
370
      jpanel1.add(btnVirtualField,cc.xy(3,1));
392
      btnVirtualFieldGetter.setBorder(emptyborder3);
393
      jpanel1.add(btnVirtualFieldGetter,cc.xy(3,1));
371 394

  
372 395
      addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]);
373 396
      return jpanel1;
......
376 399
   public JPanel createPanel3()
377 400
   {
378 401
      JPanel jpanel1 = new JPanel();
402
      FormLayout formlayout1 = new FormLayout("FILL:MAX(200PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
403
      CellConstraints cc = new CellConstraints();
404
      jpanel1.setLayout(formlayout1);
405

  
406
      btnVirtualFieldBookmarksSetter.setActionCommand("...");
407
      btnVirtualFieldBookmarksSetter.setName("btnVirtualFieldBookmarksSetter");
408
      btnVirtualFieldBookmarksSetter.setText("...");
409
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
410
      btnVirtualFieldBookmarksSetter.setBorder(emptyborder1);
411
      jpanel1.add(btnVirtualFieldBookmarksSetter,cc.xy(7,1));
412

  
413
      txtVirtualFieldSetter.setName("txtVirtualFieldSetter");
414
      jpanel1.add(txtVirtualFieldSetter,cc.xy(1,1));
415

  
416
      btnVirtualFieldHistorySetter.setActionCommand("...");
417
      btnVirtualFieldHistorySetter.setName("btnVirtualFieldHistorySetter");
418
      btnVirtualFieldHistorySetter.setText("...");
419
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
420
      btnVirtualFieldHistorySetter.setBorder(emptyborder2);
421
      jpanel1.add(btnVirtualFieldHistorySetter,cc.xy(5,1));
422

  
423
      btnVirtualFieldSetter.setActionCommand("...");
424
      btnVirtualFieldSetter.setName("btnVirtualFieldSetter");
425
      btnVirtualFieldSetter.setText("...");
426
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
427
      btnVirtualFieldSetter.setBorder(emptyborder3);
428
      jpanel1.add(btnVirtualFieldSetter,cc.xy(3,1));
429

  
430
      addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]);
431
      return jpanel1;
432
   }
433

  
434
   public JPanel createPanel4()
435
   {
436
      JPanel jpanel1 = new JPanel();
379 437
      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");
380 438
      CellConstraints cc = new CellConstraints();
381 439
      jpanel1.setLayout(formlayout1);
......
398 456
      cboGeometrySubtype.setName("cboGeometrySubtype");
399 457
      jpanel1.add(cboGeometrySubtype,cc.xy(4,4));
400 458

  
401
      jpanel1.add(createPanel4(),cc.xy(4,6));
459
      jpanel1.add(createPanel5(),cc.xy(4,6));
402 460
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 });
403 461
      return jpanel1;
404 462
   }
405 463

  
406
   public JPanel createPanel4()
464
   public JPanel createPanel5()
407 465
   {
408 466
      JPanel jpanel1 = new JPanel();
409 467
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
......
412 470

  
413 471
      btnCRS.setActionCommand("...");
414 472
      btnCRS.setName("btnCRS");
415
      btnCRS.setRolloverEnabled(true);
416 473
      btnCRS.setText("...");
417 474
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
418 475
      btnCRS.setBorder(emptyborder1);
......
425 482
      return jpanel1;
426 483
   }
427 484

  
428
   public JPanel createPanel5()
485
   public JPanel createPanel6()
429 486
   {
430 487
      JPanel jpanel1 = new JPanel();
431 488
      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");
......
438 495

  
439 496
      cboDateFormat.setEditable(true);
440 497
      cboDateFormat.setName("cboDateFormat");
498
      cboDateFormat.setRequestFocusEnabled(false);
441 499
      jpanel1.add(cboDateFormat,cc.xy(4,2));
442 500

  
443 501
      lblInterval.setName("lblInterval");
444 502
      lblInterval.setText("_Interval");
445 503
      jpanel1.add(lblInterval,new CellConstraints(2,5,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
446 504

  
447
      jpanel1.add(createPanel6(),cc.xy(4,5));
505
      jpanel1.add(createPanel7(),cc.xy(4,5));
448 506
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6 });
449 507
      return jpanel1;
450 508
   }
451 509

  
452
   public JPanel createPanel6()
510
   public JPanel createPanel7()
453 511
   {
454 512
      JPanel jpanel1 = new JPanel();
455 513
      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");
......
469 527

  
470 528
      btnIntervalStart.setActionCommand("...");
471 529
      btnIntervalStart.setName("btnIntervalStart");
472
      btnIntervalStart.setRolloverEnabled(true);
473 530
      btnIntervalStart.setText("...");
474 531
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
475 532
      btnIntervalStart.setBorder(emptyborder1);
......
477 534

  
478 535
      btnIntervalEnd.setActionCommand("...");
479 536
      btnIntervalEnd.setName("btnIntervalEnd");
480
      btnIntervalEnd.setRolloverEnabled(true);
481 537
      btnIntervalEnd.setText("...");
482 538
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
483 539
      btnIntervalEnd.setBorder(emptyborder2);
......
490 546
      return jpanel1;
491 547
   }
492 548

  
493
   public JPanel createPanel7()
549
   public JPanel createPanel8()
494 550
   {
495 551
      JPanel jpanel1 = new JPanel();
496 552
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:2DLU:NONE");
......
531 587
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
532 588
      grdAttrTagsItems.add(jscrollpane1,cc.xy(1,1));
533 589

  
534
      grdAttrTagsItems.add(createPanel8(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
590
      grdAttrTagsItems.add(createPanel9(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
535 591
      addFillComponents(grdAttrTagsItems,new int[]{ 2,3 },new int[0]);
536 592
      return grdAttrTagsItems;
537 593
   }
538 594

  
539
   public JPanel createPanel8()
595
   public JPanel createPanel9()
540 596
   {
541 597
      JPanel jpanel1 = new JPanel();
542 598
      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)");
......
545 601

  
546 602
      btnAttrTagsNew.setActionCommand("_New");
547 603
      btnAttrTagsNew.setName("btnAttrTagsNew");
548
      btnAttrTagsNew.setRolloverEnabled(true);
549 604
      btnAttrTagsNew.setText("_New");
550 605
      jpanel1.add(btnAttrTagsNew,cc.xy(2,1));
551 606

  
552 607
      btnAttrTagsDelete.setActionCommand("_Delete");
553 608
      btnAttrTagsDelete.setName("btnAttrTagsDelete");
554
      btnAttrTagsDelete.setRolloverEnabled(true);
555 609
      btnAttrTagsDelete.setText("_Delete");
556 610
      jpanel1.add(btnAttrTagsDelete,cc.xy(2,3));
557 611

  
......
566 620
      CellConstraints cc = new CellConstraints();
567 621
      gridAttrTagsItem.setLayout(formlayout1);
568 622

  
569
      gridAttrTagsItem.add(createPanel9(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
623
      gridAttrTagsItem.add(createPanel10(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
570 624
      gridAttrTagsItem.add(creategrdAttrTagsItemView(),cc.xy(1,1));
571 625
      addFillComponents(gridAttrTagsItem,new int[]{ 1,2,3 },new int[]{ 1 });
572 626
      return gridAttrTagsItem;
573 627
   }
574 628

  
575
   public JPanel createPanel9()
629
   public JPanel createPanel10()
576 630
   {
577 631
      JPanel jpanel1 = new JPanel();
578 632
      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");
......
581 635

  
582 636
      btnAttrTagsAccept.setActionCommand("JButton");
583 637
      btnAttrTagsAccept.setName("btnAttrTagsAccept");
584
      btnAttrTagsAccept.setRolloverEnabled(true);
585 638
      btnAttrTagsAccept.setText("Accept");
586 639
      jpanel1.add(btnAttrTagsAccept,cc.xy(2,3));
587 640

  
588 641
      btnAttrTagsDiscard.setActionCommand("JButton");
589 642
      btnAttrTagsDiscard.setName("btnAttrTagsDiscard");
590
      btnAttrTagsDiscard.setRolloverEnabled(true);
591 643
      btnAttrTagsDiscard.setText("_Discard");
592 644
      jpanel1.add(btnAttrTagsDiscard,cc.xy(2,5));
593 645

  
594 646
      btnAttrTagsModify.setActionCommand("JButton");
595 647
      btnAttrTagsModify.setName("btnAttrTagsModify");
596
      btnAttrTagsModify.setRolloverEnabled(true);
597 648
      btnAttrTagsModify.setText("_Modify");
598 649
      jpanel1.add(btnAttrTagsModify,cc.xy(2,1));
599 650

  
......
621 672

  
622 673
      cboAttrTagsItemValue.setEditable(true);
623 674
      cboAttrTagsItemValue.setName("cboAttrTagsItemValue");
675
      cboAttrTagsItemValue.setRequestFocusEnabled(false);
624 676
      grdAttrTagsItemView.add(cboAttrTagsItemValue,cc.xy(3,3));
625 677

  
626 678
      lblAttrTagsItemNotes.setName("lblAttrTagsItemNotes");
......
634 686
      return grdAttrTagsItemView;
635 687
   }
636 688

  
637
   public JPanel createPanel10()
689
   public JPanel createPanel11()
638 690
   {
639 691
      JPanel jpanel1 = new JPanel();
640
      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:NONE,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");
692
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MAX(200PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,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");
641 693
      CellConstraints cc = new CellConstraints();
642 694
      jpanel1.setLayout(formlayout1);
643 695

  
644 696
      chkIsForeingKey.setActionCommand("_is_foreing_key");
645 697
      chkIsForeingKey.setName("chkIsForeingKey");
646
      chkIsForeingKey.setRolloverEnabled(true);
647 698
      chkIsForeingKey.setText("_is_foreing_key");
648 699
      jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1));
649 700

  
......
661 712

  
662 713
      cboForeingKeyTableName.setEditable(true);
663 714
      cboForeingKeyTableName.setName("cboForeingKeyTableName");
715
      cboForeingKeyTableName.setRequestFocusEnabled(false);
664 716
      jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,7,1));
665 717

  
666 718
      cboForeingKeyCodeName.setEditable(true);
667 719
      cboForeingKeyCodeName.setName("cboForeingKeyCodeName");
720
      cboForeingKeyCodeName.setRequestFocusEnabled(false);
668 721
      jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,7,1));
669 722

  
670 723
      txtForeingKeyFormula.setName("txtForeingKeyFormula");
......
675 728
      jpanel1.add(lblIsClosedList,cc.xy(2,4));
676 729

  
677 730
      chkIsClosedList.setName("chkIsClosedList");
678
      chkIsClosedList.setRolloverEnabled(true);
679 731
      jpanel1.add(chkIsClosedList,cc.xy(4,4));
680 732

  
681 733
      btnForeingKeyFormula.setActionCommand("...");
682 734
      btnForeingKeyFormula.setName("btnForeingKeyFormula");
683
      btnForeingKeyFormula.setRolloverEnabled(true);
684 735
      btnForeingKeyFormula.setText("...");
685 736
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
686 737
      btnForeingKeyFormula.setBorder(emptyborder1);
......
688 739

  
689 740
      btnForeingKeyFormulaHistory.setActionCommand("...");
690 741
      btnForeingKeyFormulaHistory.setName("btnForeingKeyFormulaHistory");
691
      btnForeingKeyFormulaHistory.setRolloverEnabled(true);
692 742
      btnForeingKeyFormulaHistory.setText("...");
693 743
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
694 744
      btnForeingKeyFormulaHistory.setBorder(emptyborder2);
......
696 746

  
697 747
      btnForeingKeyFormulaBookmarks.setActionCommand("...");
698 748
      btnForeingKeyFormulaBookmarks.setName("btnForeingKeyFormulaBookmarks");
699
      btnForeingKeyFormulaBookmarks.setRolloverEnabled(true);
700 749
      btnForeingKeyFormulaBookmarks.setText("...");
701 750
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
702 751
      btnForeingKeyFormulaBookmarks.setBorder(emptyborder3);
......
706 755
      return jpanel1;
707 756
   }
708 757

  
709
   public JPanel createPanel11()
758
   public JPanel createPanel12()
710 759
   {
711 760
      JPanel jpanel1 = new JPanel();
712 761
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)");
......
715 764

  
716 765
      tabLayout.setName("tabLayout");
717 766
      tabLayout.setTabPlacement(JTabbedPane.LEFT);
718
      tabLayout.addTab("_Basic",null,createPanel12());
719
      tabLayout.addTab("_Values",null,createPanel13());
767
      tabLayout.addTab("_Basic",null,createPanel13());
768
      tabLayout.addTab("_Values",null,createPanel14());
720 769
      jpanel1.add(tabLayout,cc.xy(1,1));
721 770

  
722 771
      addFillComponents(jpanel1,new int[0],new int[0]);
723 772
      return jpanel1;
724 773
   }
725 774

  
726
   public JPanel createPanel12()
775
   public JPanel createPanel13()
727 776
   {
728 777
      JPanel jpanel1 = new JPanel();
729 778
      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)");
......
740 789

  
741 790
      cboGroup.setEditable(true);
742 791
      cboGroup.setName("cboGroup");
792
      cboGroup.setRequestFocusEnabled(false);
743 793
      jpanel1.add(cboGroup,cc.xy(4,2));
744 794

  
745 795
      txtOrder.setName("txtOrder");
......
750 800
      jpanel1.add(lblHidden,cc.xy(2,6));
751 801

  
752 802
      chkHidden.setName("chkHidden");
753
      chkHidden.setRolloverEnabled(true);
754 803
      jpanel1.add(chkHidden,cc.xy(4,6));
755 804

  
756 805
      lblLabel.setName("lblLabel");
......
776 825
      return jpanel1;
777 826
   }
778 827

  
779
   public JPanel createPanel13()
828
   public JPanel createPanel14()
780 829
   {
781 830
      JPanel jpanel1 = new JPanel();
782 831
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
......
812 861
      lblValuesFilter.setText("_Filter_for_values");
813 862
      jpanel1.add(lblValuesFilter,cc.xywh(2,2,5,1));
814 863

  
815
      jpanel1.add(createPanel14(),new CellConstraints(6,8,1,5,CellConstraints.DEFAULT,CellConstraints.TOP));
816
      jpanel1.add(createPanel15(),cc.xywh(2,4,5,1));
864
      jpanel1.add(createPanel15(),new CellConstraints(6,8,1,5,CellConstraints.DEFAULT,CellConstraints.TOP));
865
      jpanel1.add(createPanel16(),cc.xywh(2,4,5,1));
817 866
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13 });
818 867
      return jpanel1;
819 868
   }
820 869

  
821
   public JPanel createPanel14()
870
   public JPanel createPanel15()
822 871
   {
823 872
      JPanel jpanel1 = new JPanel();
824 873
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:2DLU:NONE");
......
827 876

  
828 877
      btnAvailableValuesAdd.setActionCommand("_Add");
829 878
      btnAvailableValuesAdd.setName("btnAvailableValuesAdd");
830
      btnAvailableValuesAdd.setRolloverEnabled(true);
831 879
      btnAvailableValuesAdd.setText("_Add");
832 880
      jpanel1.add(btnAvailableValuesAdd,cc.xy(1,1));
833 881

  
834 882
      btnAvailableValuesUpdate.setActionCommand("_Update");
835 883
      btnAvailableValuesUpdate.setName("btnAvailableValuesUpdate");
836
      btnAvailableValuesUpdate.setRolloverEnabled(true);
837 884
      btnAvailableValuesUpdate.setText("_Update");
838 885
      jpanel1.add(btnAvailableValuesUpdate,cc.xy(1,3));
839 886

  
840 887
      btnAvailableValuesRemove.setActionCommand("_Remove");
841 888
      btnAvailableValuesRemove.setName("btnAvailableValuesRemove");
842
      btnAvailableValuesRemove.setRolloverEnabled(true);
843 889
      btnAvailableValuesRemove.setText("_Remove");
844 890
      jpanel1.add(btnAvailableValuesRemove,cc.xy(1,5));
845 891

  
846 892
      btnAvailableValuesRemoveAll.setActionCommand("_Remove");
847 893
      btnAvailableValuesRemoveAll.setName("btnAvailableValuesRemoveAll");
848
      btnAvailableValuesRemoveAll.setRolloverEnabled(true);
849 894
      btnAvailableValuesRemoveAll.setText("_Remove_all");
850 895
      jpanel1.add(btnAvailableValuesRemoveAll,cc.xy(1,7));
851 896

  
......
853 898
      return jpanel1;
854 899
   }
855 900

  
856
   public JPanel createPanel15()
901
   public JPanel createPanel16()
857 902
   {
858 903
      JPanel jpanel1 = new JPanel();
859 904
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
......
865 910

  
866 911
      btnValuesFilter.setActionCommand("...");
867 912
      btnValuesFilter.setName("btnValuesFilter");
868
      btnValuesFilter.setRolloverEnabled(true);
869 913
      btnValuesFilter.setText("...");
870 914
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
871 915
      btnValuesFilter.setBorder(emptyborder1);
......
873 917

  
874 918
      btnValuesFilterHistory.setActionCommand("...");
875 919
      btnValuesFilterHistory.setName("btnValuesFilterHistory");
876
      btnValuesFilterHistory.setRolloverEnabled(true);
877 920
      btnValuesFilterHistory.setText("...");
878 921
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
879 922
      btnValuesFilterHistory.setBorder(emptyborder2);
......
881 924

  
882 925
      btnValuesFilterBookmarks.setActionCommand("...");
883 926
      btnValuesFilterBookmarks.setName("btnValuesFilterBookmarks");
884
      btnValuesFilterBookmarks.setRolloverEnabled(true);
885 927
      btnValuesFilterBookmarks.setText("...");
886 928
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
887 929
      btnValuesFilterBookmarks.setBorder(emptyborder3);
......
891 933
      return jpanel1;
892 934
   }
893 935

  
894
   public JPanel createPanel16()
936
   public JPanel createPanel17()
895 937
   {
896 938
      JPanel jpanel1 = new JPanel();
897 939
      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,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
......
903 945
      jpanel1.add(lblIsPrimaryKey,cc.xy(1,1));
904 946

  
905 947
      chkIsPrimaryKey.setName("chkIsPrimaryKey");
906
      chkIsPrimaryKey.setRolloverEnabled(true);
907 948
      jpanel1.add(chkIsPrimaryKey,cc.xy(3,1));
908 949

  
909 950
      lblIsAutomatic.setName("lblIsAutomatic");
......
911 952
      jpanel1.add(lblIsAutomatic,cc.xy(5,1));
912 953

  
913 954
      chkIsAutomatic.setName("chkIsAutomatic");
914
      chkIsAutomatic.setRolloverEnabled(true);
915 955
      jpanel1.add(chkIsAutomatic,cc.xy(7,1));
916 956

  
917 957
      lblAllowNulls.setName("lblAllowNulls");
......
919 959
      jpanel1.add(lblAllowNulls,cc.xy(9,1));
920 960

  
921 961
      chkAllowNulls.setName("chkAllowNulls");
922
      chkAllowNulls.setRolloverEnabled(true);
923 962
      jpanel1.add(chkAllowNulls,cc.xy(11,1));
924 963

  
925 964
      chkIsReadOnly.setName("chkIsReadOnly");
926
      chkIsReadOnly.setRolloverEnabled(true);
927 965
      jpanel1.add(chkIsReadOnly,cc.xy(3,3));
928 966

  
929 967
      chkIsIndexed.setName("chkIsIndexed");
930
      chkIsIndexed.setRolloverEnabled(true);
931 968
      jpanel1.add(chkIsIndexed,cc.xy(7,3));
932 969

  
933 970
      lblIsReadOnly.setName("lblIsReadOnly");
......
942 979
      return jpanel1;
943 980
   }
944 981

  
945
   public JPanel createPanel17()
982
   public JPanel createPanel18()
946 983
   {
947 984
      JPanel jpanel1 = new JPanel();
948 985
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
......
954 991

  
955 992
      btnFieldType.setIcon(loadImage("src/main/resources/org/gvsig/fmap/dal/swing/impl/featuretype/picker-datatype.png"));
956 993
      btnFieldType.setName("btnFieldType");
957
      btnFieldType.setRolloverEnabled(true);
958 994
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
959 995
      btnFieldType.setBorder(emptyborder1);
960 996
      jpanel1.add(btnFieldType,cc.xy(3,1));

Also available in: Unified diff