Revision 12756 branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/search/SearchUpperPanel.java
SearchUpperPanel.java | ||
---|---|---|
85 | 85 |
*/ |
86 | 86 |
// <editor-fold defaultstate="collapsed" desc=" C?digo Generado "> |
87 | 87 |
private void initComponents() { |
88 |
java.awt.GridBagConstraints gridBagConstraints;
|
|
88 |
java.awt.GridBagConstraints gridBagConstraints;
|
|
89 | 89 |
|
90 |
leftPanel = new javax.swing.JPanel();
|
|
91 |
titlePanel = new javax.swing.JPanel();
|
|
92 |
titleLabel = new javax.swing.JLabel();
|
|
93 |
titleText = new javax.swing.JTextField();
|
|
94 |
servicePanel = new javax.swing.JPanel();
|
|
95 |
serviceLabel = new javax.swing.JLabel();
|
|
96 |
serviceCombo = new javax.swing.JComboBox();
|
|
97 |
rigthPanel = new javax.swing.JPanel();
|
|
98 |
areaPanel = new javax.swing.JPanel();
|
|
99 |
areaCheckBox = new javax.swing.JCheckBox();
|
|
100 |
resizePanel = new javax.swing.JPanel();
|
|
101 |
resizeButton = new javax.swing.JButton();
|
|
90 |
leftPanel = new javax.swing.JPanel(); |
|
91 |
titlePanel = new javax.swing.JPanel(); |
|
92 |
titleLabel = new javax.swing.JLabel(); |
|
93 |
titleText = new javax.swing.JTextField(); |
|
94 |
servicePanel = new javax.swing.JPanel(); |
|
95 |
serviceLabel = new javax.swing.JLabel(); |
|
96 |
serviceCombo = new javax.swing.JComboBox(); |
|
97 |
rigthPanel = new javax.swing.JPanel(); |
|
98 |
areaPanel = new javax.swing.JPanel(); |
|
99 |
areaCheckBox = new javax.swing.JCheckBox(); |
|
100 |
resizePanel = new javax.swing.JPanel(); |
|
101 |
resizeButton = new javax.swing.JButton(); |
|
102 | 102 |
|
103 |
setLayout(new java.awt.GridLayout(1, 0));
|
|
103 |
setLayout(new java.awt.GridLayout(1, 0)); |
|
104 | 104 |
|
105 |
leftPanel.setLayout(new java.awt.GridBagLayout());
|
|
105 |
leftPanel.setLayout(new java.awt.GridBagLayout()); |
|
106 | 106 |
|
107 |
titlePanel.setLayout(new java.awt.GridBagLayout());
|
|
107 |
titlePanel.setLayout(new java.awt.GridBagLayout()); |
|
108 | 108 |
|
109 |
titleLabel.setText("jLabel1");
|
|
110 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
111 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
112 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
|
|
113 |
gridBagConstraints.weightx = 1.0;
|
|
114 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2);
|
|
115 |
titlePanel.add(titleLabel, gridBagConstraints);
|
|
109 |
titleLabel.setText("jLabel1"); |
|
110 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
111 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
112 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
113 |
gridBagConstraints.weightx = 1.0; |
|
114 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2); |
|
115 |
titlePanel.add(titleLabel, gridBagConstraints); |
|
116 | 116 |
|
117 |
titleText.setText("jTextField1");
|
|
118 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
119 |
gridBagConstraints.gridx = 0;
|
|
120 |
gridBagConstraints.gridy = 1;
|
|
121 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
122 |
gridBagConstraints.weightx = 1.0;
|
|
123 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2);
|
|
124 |
titlePanel.add(titleText, gridBagConstraints);
|
|
117 |
titleText.setText("jTextField1"); |
|
118 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
119 |
gridBagConstraints.gridx = 0; |
|
120 |
gridBagConstraints.gridy = 1; |
|
121 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
122 |
gridBagConstraints.weightx = 1.0; |
|
123 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2); |
|
124 |
titlePanel.add(titleText, gridBagConstraints); |
|
125 | 125 |
|
126 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
127 |
gridBagConstraints.gridx = 0;
|
|
128 |
gridBagConstraints.gridy = 1;
|
|
129 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
130 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
|
|
131 |
gridBagConstraints.weightx = 0.5;
|
|
132 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5);
|
|
133 |
leftPanel.add(titlePanel, gridBagConstraints);
|
|
126 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
127 |
gridBagConstraints.gridx = 0; |
|
128 |
gridBagConstraints.gridy = 1; |
|
129 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
130 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH; |
|
131 |
gridBagConstraints.weightx = 0.5; |
|
132 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5); |
|
133 |
leftPanel.add(titlePanel, gridBagConstraints); |
|
134 | 134 |
|
135 |
servicePanel.setLayout(new java.awt.GridBagLayout());
|
|
135 |
servicePanel.setLayout(new java.awt.GridBagLayout()); |
|
136 | 136 |
|
137 |
serviceLabel.setText("jLabel1");
|
|
138 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
139 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
|
|
140 |
gridBagConstraints.weightx = 1.0;
|
|
141 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2);
|
|
142 |
servicePanel.add(serviceLabel, gridBagConstraints);
|
|
137 |
serviceLabel.setText("jLabel1"); |
|
138 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
139 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
140 |
gridBagConstraints.weightx = 1.0; |
|
141 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 2, 2); |
|
142 |
servicePanel.add(serviceLabel, gridBagConstraints); |
|
143 | 143 |
|
144 |
serviceCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
|
|
145 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
146 |
gridBagConstraints.gridx = 0;
|
|
147 |
gridBagConstraints.gridy = 1;
|
|
148 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
149 |
gridBagConstraints.weightx = 1.0;
|
|
150 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 3, 2);
|
|
151 |
servicePanel.add(serviceCombo, gridBagConstraints);
|
|
144 |
serviceCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|
145 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
146 |
gridBagConstraints.gridx = 0; |
|
147 |
gridBagConstraints.gridy = 1; |
|
148 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
149 |
gridBagConstraints.weightx = 1.0; |
|
150 |
gridBagConstraints.insets = new java.awt.Insets(2, 5, 3, 2); |
|
151 |
servicePanel.add(serviceCombo, gridBagConstraints); |
|
152 | 152 |
|
153 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
154 |
gridBagConstraints.gridx = 0;
|
|
155 |
gridBagConstraints.gridy = 0;
|
|
156 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
157 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
|
|
158 |
gridBagConstraints.weightx = 0.5;
|
|
159 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5);
|
|
160 |
leftPanel.add(servicePanel, gridBagConstraints);
|
|
153 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
154 |
gridBagConstraints.gridx = 0; |
|
155 |
gridBagConstraints.gridy = 0; |
|
156 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
157 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH; |
|
158 |
gridBagConstraints.weightx = 0.5; |
|
159 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5); |
|
160 |
leftPanel.add(servicePanel, gridBagConstraints); |
|
161 | 161 |
|
162 |
add(leftPanel);
|
|
162 |
add(leftPanel); |
|
163 | 163 |
|
164 |
rigthPanel.setLayout(new java.awt.GridBagLayout());
|
|
164 |
rigthPanel.setLayout(new java.awt.GridBagLayout()); |
|
165 | 165 |
|
166 |
rigthPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(72, 1, 1, 1)); |
|
167 |
areaPanel.setLayout(new java.awt.GridBagLayout()); |
|
166 |
rigthPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(72, 1, 1, 1)); |
|
167 |
rigthPanel.setPreferredSize(new java.awt.Dimension(100, 40)); |
|
168 |
areaPanel.setLayout(new java.awt.GridBagLayout()); |
|
168 | 169 |
|
169 |
areaCheckBox.setText("jCheckBox1"); |
|
170 |
areaCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
171 |
areaCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0)); |
|
172 |
areaPanel.add(areaCheckBox, new java.awt.GridBagConstraints()); |
|
170 |
areaPanel.setPreferredSize(new java.awt.Dimension(200, 20)); |
|
171 |
areaCheckBox.setText("jCheckBox1"); |
|
172 |
areaCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
173 |
areaCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0)); |
|
174 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
175 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
176 |
areaPanel.add(areaCheckBox, gridBagConstraints); |
|
173 | 177 |
|
174 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
175 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
|
|
176 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
|
|
177 |
gridBagConstraints.weightx = 0.3;
|
|
178 |
rigthPanel.add(areaPanel, gridBagConstraints);
|
|
178 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
179 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
180 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
181 |
gridBagConstraints.weightx = 0.3; |
|
182 |
rigthPanel.add(areaPanel, gridBagConstraints); |
|
179 | 183 |
|
180 |
resizePanel.setLayout(new java.awt.GridBagLayout());
|
|
184 |
resizePanel.setLayout(new java.awt.GridBagLayout()); |
|
181 | 185 |
|
182 |
resizeButton.setText("jButton1"); |
|
183 |
resizeButton.setPreferredSize(new java.awt.Dimension(25, 25)); |
|
186 |
resizePanel.setMaximumSize(null); |
|
187 |
resizePanel.setPreferredSize(new java.awt.Dimension(30, 30)); |
|
188 |
resizeButton.setPreferredSize(new java.awt.Dimension(25, 25)); |
|
184 | 189 |
|
185 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
186 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
|
|
187 |
gridBagConstraints.weightx = 1.0;
|
|
188 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5);
|
|
189 |
resizePanel.add(resizeButton, gridBagConstraints);
|
|
190 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
191 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; |
|
192 |
gridBagConstraints.weightx = 1.0; |
|
193 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 5); |
|
194 |
resizePanel.add(resizeButton, gridBagConstraints); |
|
190 | 195 |
|
191 |
gridBagConstraints = new java.awt.GridBagConstraints();
|
|
192 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
|
|
193 |
gridBagConstraints.weightx = 0.7;
|
|
194 |
rigthPanel.add(resizePanel, gridBagConstraints);
|
|
196 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
197 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; |
|
198 |
gridBagConstraints.weightx = 0.7; |
|
199 |
rigthPanel.add(resizePanel, gridBagConstraints); |
|
195 | 200 |
|
196 |
add(rigthPanel);
|
|
201 |
add(rigthPanel); |
|
197 | 202 |
}// </editor-fold> |
198 | 203 |
|
199 | 204 |
/** |
... | ... | |
238 | 243 |
*/ |
239 | 244 |
public void setDownIcon() { |
240 | 245 |
resizeButton.setIcon(new ImageIcon("./gvSIG/extensiones/es.gva.cit.gvsig.catalogClient/images/down.png")); |
246 |
|
|
241 | 247 |
} |
242 | 248 |
|
243 | 249 |
/** |
Also available in: Unified diff