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