Revision 4505 trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/panels/WCSParamsPanel.java
WCSParamsPanel.java | ||
---|---|---|
96 | 96 |
private final int INTERVAL = 1; |
97 | 97 |
|
98 | 98 |
private JTabbedPane jTabbedPane = null; // @jve:decl-index=0:visual-constraint="37,30" |
99 |
private JPanel panelFormato = null;
|
|
100 |
private JPanel panelTemps = null;
|
|
101 |
private JPanel panelParametres = null;
|
|
99 |
private JPanel formatsPanel = null;
|
|
100 |
private JPanel timesPanel = null;
|
|
101 |
private JPanel parametersPanel = null;
|
|
102 | 102 |
private JList lstCRSs = null; |
103 | 103 |
private JList lstTemps = null; |
104 | 104 |
private JComboBox cmbParam = null; |
... | ... | |
143 | 143 |
public static Preferences fPrefs = Preferences.userRoot().node( "gvsig.wcs-wizard" ); |
144 | 144 |
private JComboBox cmbInterpolationMethods = null; |
145 | 145 |
private JCheckBox chkUseInterpolationMethod = null; |
146 |
private InfoPanel infoPanel; |
|
147 |
private int intInfo; |
|
146 | 148 |
/** |
147 | 149 |
* This method initializes jTabbedPane |
148 | 150 |
* |
... | ... | |
172 | 174 |
} |
173 | 175 |
|
174 | 176 |
/** |
175 |
* Sets the focus to the tab specified by the index. |
|
176 |
* |
|
177 |
* Establece el foco en la solapa especificada en index |
|
178 |
* |
|
179 |
* @param index |
|
180 |
*/ |
|
181 |
private void setTabFocus(int index){ |
|
182 |
this.getJTabbedPane().setSelectedIndex(index); |
|
183 |
} |
|
184 |
|
|
185 |
/** |
|
186 | 177 |
* Sets the focus to the tab next to the current one. |
187 | 178 |
* |
188 | 179 |
* Enfoca a la solapa siguiente a la actualmente enfocada del TabbedPane |
... | ... | |
222 | 213 |
if (jTabbedPane == null) { |
223 | 214 |
jTabbedPane = new JTabbedPane(); |
224 | 215 |
jTabbedPane.setSize(476, 422); |
225 |
jTabbedPane.addTab(PluginServices.getText(this, "Coberturas"), null, getPanelCovertures(), null); |
|
216 |
jTabbedPane.addTab(PluginServices.getText(this, "info"), null, getInfoPanel()); |
|
217 |
intInfo = jTabbedPane.getTabCount()-1; |
|
218 |
jTabbedPane.addTab(PluginServices.getText(this, "coverage"), null, getPanelCovertures(), null); |
|
226 | 219 |
indCoverage = jTabbedPane.getTabCount()-1; |
227 |
jTabbedPane.addTab(PluginServices.getText(this, "Formato"), null, getPanelFormato(), null);
|
|
220 |
jTabbedPane.addTab(PluginServices.getText(this, "format"), null, getFormatsPanel(), null);
|
|
228 | 221 |
indFormat = jTabbedPane.getTabCount()-1; |
229 |
jTabbedPane.addTab(PluginServices.getText(this, "Tiempo"), null, getPanelTemps(), null);
|
|
222 |
jTabbedPane.addTab(PluginServices.getText(this, "time"), null, getTimePanel(), null);
|
|
230 | 223 |
indTime = jTabbedPane.getTabCount()-1; |
231 | 224 |
jTabbedPane.setEnabledAt(indTime, false); |
232 |
jTabbedPane.addTab(PluginServices.getText(this, "Parametros"), null, getPanelParametres(), null);
|
|
225 |
jTabbedPane.addTab(PluginServices.getText(this, "parameters"), null, getParametersPanel(), null);
|
|
233 | 226 |
indParameter = jTabbedPane.getTabCount()-1; |
234 | 227 |
jTabbedPane.setEnabledAt(indParameter, false); |
235 | 228 |
} |
236 | 229 |
return jTabbedPane; |
237 | 230 |
} |
231 |
|
|
232 |
private InfoPanel getInfoPanel() { |
|
233 |
if (infoPanel==null) { |
|
234 |
infoPanel = new InfoPanel(); |
|
235 |
} |
|
236 |
return infoPanel; |
|
237 |
} |
|
238 | 238 |
/** |
239 | 239 |
* This method initializes panelFormato |
240 | 240 |
* |
241 | 241 |
* @return javax.swing.JPanel |
242 | 242 |
*/ |
243 |
private JPanel getPanelFormato() {
|
|
244 |
if (panelFormato == null) {
|
|
245 |
panelFormato = new JPanel();
|
|
246 |
panelFormato.setLayout(null);
|
|
247 |
panelFormato.add(getJPanel3(), null);
|
|
248 |
panelFormato.add(getJPanel2(), null);
|
|
243 |
private JPanel getFormatsPanel() {
|
|
244 |
if (formatsPanel == null) {
|
|
245 |
formatsPanel = new JPanel();
|
|
246 |
formatsPanel.setLayout(null);
|
|
247 |
formatsPanel.add(getJPanel3(), null);
|
|
248 |
formatsPanel.add(getJPanel2(), null);
|
|
249 | 249 |
} |
250 |
return panelFormato;
|
|
250 |
return formatsPanel;
|
|
251 | 251 |
} |
252 | 252 |
/** |
253 | 253 |
* This method initializes panelTemps |
254 | 254 |
* |
255 | 255 |
* @return javax.swing.JPanel |
256 | 256 |
*/ |
257 |
private JPanel getPanelTemps() {
|
|
258 |
if (panelTemps == null) {
|
|
259 |
panelTemps = new JPanel();
|
|
260 |
panelTemps.setLayout(null);
|
|
261 |
panelTemps.add(getJPanel(), null);
|
|
257 |
private JPanel getTimePanel() {
|
|
258 |
if (timesPanel == null) {
|
|
259 |
timesPanel = new JPanel();
|
|
260 |
timesPanel.setLayout(null);
|
|
261 |
timesPanel.add(getJPanel(), null);
|
|
262 | 262 |
} |
263 |
return panelTemps;
|
|
263 |
return timesPanel;
|
|
264 | 264 |
} |
265 | 265 |
/** |
266 | 266 |
* This method initializes panelParametres |
267 | 267 |
* |
268 | 268 |
* @return javax.swing.JPanel |
269 | 269 |
*/ |
270 |
private JPanel getPanelParametres() {
|
|
271 |
if (panelParametres == null) {
|
|
272 |
panelParametres = new JPanel();
|
|
273 |
panelParametres.setLayout(null);
|
|
274 |
panelParametres.add(getJPanel1(), null);
|
|
270 |
private JPanel getParametersPanel() {
|
|
271 |
if (parametersPanel == null) {
|
|
272 |
parametersPanel = new JPanel();
|
|
273 |
parametersPanel.setLayout(null);
|
|
274 |
parametersPanel.add(getJPanel1(), null);
|
|
275 | 275 |
} |
276 |
return panelParametres;
|
|
276 |
return parametersPanel;
|
|
277 | 277 |
} |
278 | 278 |
/** |
279 | 279 |
* This method initializes lstCRSs |
... | ... | |
310 | 310 |
} |
311 | 311 |
return cmbParam; |
312 | 312 |
} |
313 |
|
|
313 | 314 |
/** |
314 | 315 |
* This method initializes lstParamValues |
315 | 316 |
* |
Also available in: Unified diff