svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.exportto / org.gvsig.exportto.swing / org.gvsig.exportto.swing.prov / org.gvsig.exportto.swing.prov.jdbc / src / main / java / org / gvsig / export / jdbc / swing / panels / GeometryIndexPanelLayout.java @ 44198
History | View | Annotate | Download (3.1 KB)
1 | 41638 | jjdelcerro | /*
|
---|---|---|---|
2 | * To change this license header, choose License Headers in Project Properties.
|
||
3 | * To change this template file, choose Tools | Templates
|
||
4 | * and open the template in the editor.
|
||
5 | */
|
||
6 | |||
7 | 43925 | jjdelcerro | package org.gvsig.export.jdbc.swing.panels; |
8 | 41638 | jjdelcerro | |
9 | import java.awt.Dimension; |
||
10 | import java.awt.GridBagConstraints; |
||
11 | import java.awt.GridBagLayout; |
||
12 | import javax.swing.Box; |
||
13 | import javax.swing.JCheckBox; |
||
14 | import javax.swing.JLabel; |
||
15 | |||
16 | /**
|
||
17 | *
|
||
18 | * @author usuario
|
||
19 | */
|
||
20 | public class GeometryIndexPanelLayout extends javax.swing.JPanel { |
||
21 | |||
22 | /**
|
||
23 | * Creates new form GeometryIndexPanelLayout
|
||
24 | */
|
||
25 | public GeometryIndexPanelLayout() {
|
||
26 | initComponents(); |
||
27 | } |
||
28 | |||
29 | /**
|
||
30 | * This method is called from within the constructor to
|
||
31 | * initialize the form.
|
||
32 | * WARNING: Do NOT modify this code. The content of this method is
|
||
33 | * always regenerated by the Form Editor.
|
||
34 | */
|
||
35 | @SuppressWarnings("unchecked") |
||
36 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
||
37 | private void initComponents() { |
||
38 | GridBagConstraints gridBagConstraints;
|
||
39 | |||
40 | lblHeader = new JLabel(); |
||
41 | chkCreateGeometryIndex = new JCheckBox(); |
||
42 | filler1 = new Box.Filler(new Dimension(16, 16), new Dimension(16, 16), new Dimension(16, 16)); |
||
43 | filler2 = new Box.Filler(new Dimension(16, 16), new Dimension(16, 16), new Dimension(16, 16)); |
||
44 | |||
45 | GridBagLayout layout = new GridBagLayout(); |
||
46 | layout.columnWidths = new int[] {0, 4, 0, 4, 0}; |
||
47 | layout.rowHeights = new int[] {0, 4, 0, 4, 0, 4, 0}; |
||
48 | setLayout(layout); |
||
49 | |||
50 | lblHeader.setText("<html>\nSi la tabla contiene columnas de tipo geometria es recomendable que cree un indice espacial sobre ellas.\n</html>"); // NOI18N |
||
51 | gridBagConstraints = new GridBagConstraints(); |
||
52 | gridBagConstraints.gridx = 2;
|
||
53 | gridBagConstraints.gridy = 2;
|
||
54 | gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
|
||
55 | gridBagConstraints.weightx = 0.1;
|
||
56 | add(lblHeader, gridBagConstraints); |
||
57 | |||
58 | chkCreateGeometryIndex.setText("Crear indice espacial sobre las columnas de tipo geometria"); // NOI18N |
||
59 | gridBagConstraints = new GridBagConstraints(); |
||
60 | gridBagConstraints.gridx = 2;
|
||
61 | gridBagConstraints.gridy = 4;
|
||
62 | gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
|
||
63 | gridBagConstraints.weightx = 0.1;
|
||
64 | add(chkCreateGeometryIndex, gridBagConstraints); |
||
65 | gridBagConstraints = new GridBagConstraints(); |
||
66 | gridBagConstraints.gridx = 0;
|
||
67 | gridBagConstraints.gridy = 6;
|
||
68 | gridBagConstraints.fill = GridBagConstraints.VERTICAL;
|
||
69 | gridBagConstraints.weighty = 0.1;
|
||
70 | add(filler1, gridBagConstraints); |
||
71 | gridBagConstraints = new GridBagConstraints(); |
||
72 | gridBagConstraints.gridx = 4;
|
||
73 | gridBagConstraints.gridy = 6;
|
||
74 | add(filler2, gridBagConstraints); |
||
75 | }// </editor-fold>//GEN-END:initComponents
|
||
76 | |||
77 | |||
78 | // Variables declaration - do not modify//GEN-BEGIN:variables
|
||
79 | public JCheckBox chkCreateGeometryIndex; |
||
80 | public Box.Filler filler1; |
||
81 | public Box.Filler filler2; |
||
82 | public JLabel lblHeader; |
||
83 | // End of variables declaration//GEN-END:variables
|
||
84 | } |