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 / CheckGeometriesPanelLayout.java @ 43020
History | View | Annotate | Download (7.13 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 |
/**
|
10 |
*
|
11 |
* @author jjdelcerro
|
12 |
*/
|
13 |
public class CheckGeometriesPanelLayout extends javax.swing.JPanel { |
14 |
|
15 |
/**
|
16 |
* Creates new form CheckGeometriesPanelLayout
|
17 |
*/
|
18 |
public CheckGeometriesPanelLayout() {
|
19 |
initComponents(); |
20 |
} |
21 |
|
22 |
/**
|
23 |
* This method is called from within the constructor to initialize the form.
|
24 |
* WARNING: Do NOT modify this code. The content of this method is always
|
25 |
* regenerated by the Form Editor.
|
26 |
*/
|
27 |
@SuppressWarnings("unchecked") |
28 |
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
29 |
private void initComponents() { |
30 |
java.awt.GridBagConstraints gridBagConstraints; |
31 |
|
32 |
buttonGroup1 = new javax.swing.ButtonGroup();
|
33 |
lblHeader = new javax.swing.JLabel();
|
34 |
lblCheckIsCorrupt = new javax.swing.JLabel();
|
35 |
rdbCheckNone = new javax.swing.JRadioButton();
|
36 |
rdbCheckIsCorrupt = new javax.swing.JRadioButton();
|
37 |
cboActionIsCorrupt = new javax.swing.JComboBox();
|
38 |
rdbCheckIsValid = new javax.swing.JRadioButton();
|
39 |
lblCheckIsvalid = new javax.swing.JLabel();
|
40 |
cboActionIsValid = new javax.swing.JComboBox();
|
41 |
filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 32767)); |
42 |
filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(16, 0), new java.awt.Dimension(16, 0), new java.awt.Dimension(16, 32767)); |
43 |
chkTryFixGeometry = new javax.swing.JCheckBox();
|
44 |
|
45 |
java.awt.GridBagLayout layout = new java.awt.GridBagLayout();
|
46 |
layout.columnWidths = new int[] {0, 5, 0, 5, 0, 5, 0}; |
47 |
layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0}; |
48 |
setLayout(layout); |
49 |
|
50 |
lblHeader.setText("Validacion de la informacion geometrica");
|
51 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
52 |
gridBagConstraints.gridx = 2;
|
53 |
gridBagConstraints.gridy = 2;
|
54 |
gridBagConstraints.gridwidth = 3;
|
55 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
56 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
57 |
gridBagConstraints.weightx = 0.1;
|
58 |
add(lblHeader, gridBagConstraints); |
59 |
|
60 |
lblCheckIsCorrupt.setText("Cuando la geometria este corrupta;");
|
61 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
62 |
gridBagConstraints.gridx = 4;
|
63 |
gridBagConstraints.gridy = 8;
|
64 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
65 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
66 |
add(lblCheckIsCorrupt, gridBagConstraints); |
67 |
|
68 |
buttonGroup1.add(rdbCheckNone); |
69 |
rdbCheckNone.setText("No realizar ninguna comprobacion sobre las geometrias");
|
70 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
71 |
gridBagConstraints.gridx = 2;
|
72 |
gridBagConstraints.gridy = 4;
|
73 |
gridBagConstraints.gridwidth = 3;
|
74 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
75 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
76 |
gridBagConstraints.weightx = 0.1;
|
77 |
add(rdbCheckNone, gridBagConstraints); |
78 |
|
79 |
buttonGroup1.add(rdbCheckIsCorrupt); |
80 |
rdbCheckIsCorrupt.setText("Comprobar que la geometria no este corrupta");
|
81 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
82 |
gridBagConstraints.gridx = 2;
|
83 |
gridBagConstraints.gridy = 6;
|
84 |
gridBagConstraints.gridwidth = 3;
|
85 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
86 |
gridBagConstraints.weightx = 0.1;
|
87 |
add(rdbCheckIsCorrupt, gridBagConstraints); |
88 |
|
89 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
90 |
gridBagConstraints.gridx = 4;
|
91 |
gridBagConstraints.gridy = 10;
|
92 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
93 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
94 |
add(cboActionIsCorrupt, gridBagConstraints); |
95 |
|
96 |
buttonGroup1.add(rdbCheckIsValid); |
97 |
rdbCheckIsValid.setText("Comprobar la validez de las geometrias antes de insertarlas");
|
98 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
99 |
gridBagConstraints.gridx = 2;
|
100 |
gridBagConstraints.gridy = 12;
|
101 |
gridBagConstraints.gridwidth = 3;
|
102 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
103 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
104 |
gridBagConstraints.weightx = 0.1;
|
105 |
add(rdbCheckIsValid, gridBagConstraints); |
106 |
|
107 |
lblCheckIsvalid.setText("Cuando la geometria no sea valida:");
|
108 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
109 |
gridBagConstraints.gridx = 4;
|
110 |
gridBagConstraints.gridy = 14;
|
111 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
112 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
113 |
add(lblCheckIsvalid, gridBagConstraints); |
114 |
|
115 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
116 |
gridBagConstraints.gridx = 4;
|
117 |
gridBagConstraints.gridy = 18;
|
118 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
119 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
120 |
add(cboActionIsValid, gridBagConstraints); |
121 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
122 |
gridBagConstraints.gridx = 2;
|
123 |
gridBagConstraints.gridy = 20;
|
124 |
gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL; |
125 |
gridBagConstraints.weighty = 0.1;
|
126 |
add(filler1, gridBagConstraints); |
127 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
128 |
gridBagConstraints.gridx = 2;
|
129 |
gridBagConstraints.gridy = 0;
|
130 |
add(filler2, gridBagConstraints); |
131 |
|
132 |
chkTryFixGeometry.setText("Intentar reparar la geometria");
|
133 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
134 |
gridBagConstraints.gridx = 4;
|
135 |
gridBagConstraints.gridy = 16;
|
136 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
137 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START; |
138 |
add(chkTryFixGeometry, gridBagConstraints); |
139 |
}// </editor-fold>//GEN-END:initComponents
|
140 |
|
141 |
|
142 |
// Variables declaration - do not modify//GEN-BEGIN:variables
|
143 |
protected javax.swing.ButtonGroup buttonGroup1;
|
144 |
protected javax.swing.JComboBox cboActionIsCorrupt;
|
145 |
protected javax.swing.JComboBox cboActionIsValid;
|
146 |
protected javax.swing.JCheckBox chkTryFixGeometry;
|
147 |
protected javax.swing.Box.Filler filler1;
|
148 |
protected javax.swing.Box.Filler filler2;
|
149 |
protected javax.swing.JLabel lblCheckIsCorrupt;
|
150 |
protected javax.swing.JLabel lblCheckIsvalid;
|
151 |
protected javax.swing.JLabel lblHeader;
|
152 |
protected javax.swing.JRadioButton rdbCheckIsCorrupt;
|
153 |
protected javax.swing.JRadioButton rdbCheckIsValid;
|
154 |
protected javax.swing.JRadioButton rdbCheckNone;
|
155 |
// End of variables declaration//GEN-END:variables
|
156 |
} |