svn-gvsig-desktop / branches / F2 / extensions / extJCRS / src-test / org / gvsig / crs / gui / wizard / DefinirDatumOld.java @ 11227
History | View | Annotate | Download (14.9 KB)
1 |
package org.gvsig.crs.gui.wizard; |
---|---|
2 |
|
3 |
import java.awt.BorderLayout; |
4 |
import java.awt.Dimension; |
5 |
import java.awt.GridBagConstraints; |
6 |
import java.awt.GridBagLayout; |
7 |
import java.awt.Insets; |
8 |
import java.awt.event.ActionEvent; |
9 |
import java.awt.event.ActionListener; |
10 |
|
11 |
import javax.swing.BorderFactory; |
12 |
import javax.swing.ButtonGroup; |
13 |
import javax.swing.JButton; |
14 |
import javax.swing.JLabel; |
15 |
import javax.swing.JPanel; |
16 |
import javax.swing.JRadioButton; |
17 |
import javax.swing.JTextField; |
18 |
import javax.swing.border.Border; |
19 |
|
20 |
import com.iver.utiles.swing.JComboBox; |
21 |
|
22 |
/**
|
23 |
* Panel de definicin del Datum
|
24 |
*
|
25 |
* @author Luisa Marina Fernandez Ruiz (luisam.fernandez@uclm.es)
|
26 |
*
|
27 |
*
|
28 |
*/
|
29 |
public class DefinirDatumOld extends JPanel implements ActionListener{ |
30 |
|
31 |
private JTextField txtDatum; |
32 |
private JTextField txtElipsoide; |
33 |
private JTextField txtSemMay; |
34 |
private JTextField txtSemMen; |
35 |
private JTextField txtInvF; |
36 |
private JTextField txtMeridian; |
37 |
private JTextField txtLong; |
38 |
|
39 |
private JLabel lblDatum; |
40 |
private JLabel lblElipsoide; |
41 |
private JLabel lblSemMay; |
42 |
private JLabel lblSemMen; |
43 |
private JLabel lblInvF; |
44 |
private JLabel lblMeridian; |
45 |
private JLabel lblLong; |
46 |
|
47 |
private JButton btnImportDatum; |
48 |
private JButton btnImportElipsoide; |
49 |
private JButton btnImportMeridian; |
50 |
|
51 |
private JComboBox cbSemMay; |
52 |
private JComboBox cbSemMen; |
53 |
private JComboBox cbInvF; |
54 |
private JComboBox cbLong; |
55 |
|
56 |
private JRadioButton rbSemMay; |
57 |
private JRadioButton rbSemMen; |
58 |
private JRadioButton rbInvF; |
59 |
private ButtonGroup groupRadioButton; |
60 |
|
61 |
private Dimension bigSize; |
62 |
private Dimension smallSize; |
63 |
|
64 |
|
65 |
private static final long serialVersionUID = 1L; |
66 |
|
67 |
public DefinirDatumOld() {
|
68 |
super();
|
69 |
this.setLayout(new BorderLayout()); |
70 |
bigSize=new Dimension(); |
71 |
bigSize.width=200;
|
72 |
smallSize=new Dimension(); |
73 |
smallSize.width=130;
|
74 |
initialize(); |
75 |
Border raisedbevel = BorderFactory.createRaisedBevelBorder(); |
76 |
Border loweredbevel = BorderFactory.createLoweredBevelBorder(); |
77 |
Border compound;
|
78 |
compound = BorderFactory.createCompoundBorder(
|
79 |
raisedbevel, loweredbevel); |
80 |
this.setBorder(compound);
|
81 |
|
82 |
|
83 |
} |
84 |
/*Inicializa todos los elementos del panel*/
|
85 |
private void initialize() { |
86 |
JPanel pCenter;
|
87 |
pCenter=new JPanel(); |
88 |
//TODO: Usar GridBagLayoutPanel
|
89 |
/*GridBagLayoutPanel, panel de gvsig que
|
90 |
permite agregar objetos fcilmente */
|
91 |
pCenter.setLayout(new GridBagLayout()); |
92 |
GridBagConstraints c=new GridBagConstraints(); |
93 |
c.fill=GridBagConstraints.BOTH;
|
94 |
c.anchor=GridBagConstraints.WEST;
|
95 |
//Insets(top,left,bottom,rigth);
|
96 |
c.insets=new Insets(4,8,4,8); |
97 |
c.gridx = 0;
|
98 |
c.gridy = 0;
|
99 |
pCenter.add(getLblDatum(),c); |
100 |
|
101 |
c.anchor=GridBagConstraints.EAST;
|
102 |
c.gridx=1;
|
103 |
c.gridy=0;
|
104 |
pCenter.add(getTxtDatum(),c); |
105 |
|
106 |
c.gridx=3;
|
107 |
c.gridy=0;
|
108 |
pCenter.add(getBtnImportDatum(),c); |
109 |
|
110 |
c.anchor=GridBagConstraints.WEST;
|
111 |
c.gridx=0;
|
112 |
c.gridy=1;
|
113 |
pCenter.add(getLblElipsoide(),c); |
114 |
|
115 |
c.anchor=GridBagConstraints.EAST;
|
116 |
c.gridx=1;
|
117 |
c.gridy=1;
|
118 |
pCenter.add(getTxtElipsoide(),c); |
119 |
|
120 |
c.gridx=3;
|
121 |
c.gridy=1;
|
122 |
pCenter.add(getBtnImportElipsoide(),c); |
123 |
|
124 |
c.fill=GridBagConstraints.NONE;
|
125 |
c.anchor=GridBagConstraints.EAST;
|
126 |
c.gridx=0;
|
127 |
c.gridy=2;
|
128 |
pCenter.add(getLblSemMay(),c); |
129 |
|
130 |
c.gridx=1;
|
131 |
c.gridy=2;
|
132 |
pCenter.add(getTxtSemMay(),c); |
133 |
|
134 |
c.gridx=2;
|
135 |
c.gridy=2;
|
136 |
pCenter.add(getRbSemMay(),c); |
137 |
|
138 |
c.gridx=3;
|
139 |
c.gridy=2;
|
140 |
pCenter.add(getCbSemMay(),c); |
141 |
|
142 |
c.gridx=0;
|
143 |
c.gridy=3;
|
144 |
pCenter.add(getLblSemMen(),c); |
145 |
|
146 |
c.gridx=1;
|
147 |
c.gridy=3;
|
148 |
pCenter.add(getTxtSemMen(),c); |
149 |
|
150 |
c.gridx=2;
|
151 |
c.gridy=3;
|
152 |
pCenter.add(getRbSemMen(),c); |
153 |
|
154 |
c.gridx=3;
|
155 |
c.gridy=3;
|
156 |
pCenter.add(getCbSemMen(),c); |
157 |
|
158 |
c.gridx=0;
|
159 |
c.gridy=4;
|
160 |
pCenter.add(getLblInvF(),c); |
161 |
|
162 |
c.gridx=1;
|
163 |
c.gridy=4;
|
164 |
pCenter.add(getTxtInvF(),c); |
165 |
|
166 |
c.gridx=2;
|
167 |
c.gridy=4;
|
168 |
pCenter.add(getRbInvF(),c); |
169 |
|
170 |
c.gridx=3;
|
171 |
c.gridy=4;
|
172 |
pCenter.add(getCbInvF(),c); |
173 |
/*Agrupar todos los Radio Buttons una vez insertados*/
|
174 |
agruparRadioButtons(); |
175 |
|
176 |
c.anchor=GridBagConstraints.WEST;
|
177 |
c.fill=GridBagConstraints.BOTH;
|
178 |
c.gridx=0;
|
179 |
c.gridy=5;
|
180 |
pCenter.add(getLblMeridian(),c); |
181 |
|
182 |
c.anchor=GridBagConstraints.EAST;
|
183 |
c.gridx=1;
|
184 |
c.gridy=5;
|
185 |
pCenter.add(getTxtMeridian(),c); |
186 |
|
187 |
c.gridx=3;
|
188 |
c.gridy=5;
|
189 |
pCenter.add(getBtnImportMeridian(),c); |
190 |
|
191 |
c.fill=GridBagConstraints.NONE;
|
192 |
c.gridx=0;
|
193 |
c.gridy=6;
|
194 |
pCenter.add(getLblLong(),c); |
195 |
|
196 |
c.gridx=1;
|
197 |
c.gridy=6;
|
198 |
pCenter.add(getTxtLong(),c); |
199 |
|
200 |
c.gridx=3;
|
201 |
c.gridy=6;
|
202 |
pCenter.add(getCbLong(),c); |
203 |
|
204 |
this.add(pCenter,BorderLayout.CENTER); |
205 |
} |
206 |
/**
|
207 |
* Inicializa el botn Importar del datum
|
208 |
* @return
|
209 |
*/
|
210 |
public JButton getBtnImportDatum() { |
211 |
if(btnImportDatum==null){ |
212 |
btnImportDatum=new JButton(); |
213 |
//TODO: Comprobar que funcionan las traducciones
|
214 |
//btnImportDatum.setText(PluginServices.getText(this, "jpDat_Importar"));
|
215 |
btnImportDatum.setText("Importar");
|
216 |
btnImportDatum.addActionListener(this);
|
217 |
} |
218 |
return btnImportDatum;
|
219 |
} |
220 |
/**
|
221 |
* Inicializa el botn Importar del Elipsoide
|
222 |
* @return
|
223 |
*/
|
224 |
public JButton getBtnImportElipsoide() { |
225 |
if(btnImportElipsoide==null){ |
226 |
btnImportElipsoide=new JButton(); |
227 |
//TODO: Comprobar que funcionan las traducciones
|
228 |
//btnImportElipsoide.setText(PluginServices.getText(this, "jpDat_Importar"));
|
229 |
btnImportElipsoide.setText("Importar");
|
230 |
btnImportElipsoide.addActionListener(this);
|
231 |
} |
232 |
return btnImportElipsoide;
|
233 |
} |
234 |
/**
|
235 |
* Inicializa el botn Importar del Meridiano
|
236 |
* @return
|
237 |
*/
|
238 |
public JButton getBtnImportMeridian() { |
239 |
if(btnImportMeridian==null){ |
240 |
btnImportMeridian=new JButton(); |
241 |
//TODO: Comprobar que funcionan las traducciones
|
242 |
//btnImportMeridian.setText(PluginServices.getText(this, "jpDat_Importar"));
|
243 |
btnImportMeridian.setText("Importar");
|
244 |
btnImportMeridian.addActionListener(this);
|
245 |
} |
246 |
return btnImportMeridian;
|
247 |
} |
248 |
/**
|
249 |
* Inicializa el Combo box con las unidades de Inverse Flat
|
250 |
* @return
|
251 |
*/
|
252 |
public JComboBox getCbInvF() { |
253 |
if (cbInvF==null){ |
254 |
cbInvF=new JComboBox(); |
255 |
//TODO: Agregar los items
|
256 |
cbInvF.addItem("Metros");
|
257 |
cbInvF.addItem("Grados");
|
258 |
/*Seleccionar un item por defecto*/
|
259 |
cbInvF.setSelectedIndex(0);
|
260 |
cbInvF.addActionListener(this);
|
261 |
} |
262 |
return cbInvF;
|
263 |
} |
264 |
/**
|
265 |
* Inicializa el Combo box con las unidades de Longitud
|
266 |
* @return
|
267 |
*/
|
268 |
public JComboBox getCbLong() { |
269 |
if (cbLong==null){ |
270 |
cbLong=new JComboBox(); |
271 |
//TODO: Agregar los items
|
272 |
cbLong.addItem("Metros");
|
273 |
cbLong.addItem("Grados");
|
274 |
/*Seleccionar un item por defecto*/
|
275 |
cbLong.setSelectedIndex(0);
|
276 |
cbLong.addActionListener(this);
|
277 |
} |
278 |
return cbLong;
|
279 |
} |
280 |
/**
|
281 |
* Inicializa el Combo box con las unidades de Semieje Mayor
|
282 |
* @return
|
283 |
*/
|
284 |
public JComboBox getCbSemMay() { |
285 |
if (cbSemMay==null){ |
286 |
cbSemMay=new JComboBox(); |
287 |
//TODO: Agregar los items
|
288 |
cbSemMay.addItem("Metros");
|
289 |
cbSemMay.addItem("Grados");
|
290 |
/*Seleccionar un item por defecto*/
|
291 |
cbSemMay.setSelectedIndex(0);
|
292 |
cbSemMay.addActionListener(this);
|
293 |
} |
294 |
return cbSemMay;
|
295 |
} |
296 |
/**
|
297 |
* Inicializa el Combo box con las unidades de Semieje Menor
|
298 |
* @return
|
299 |
*/
|
300 |
public JComboBox getCbSemMen() { |
301 |
if (cbSemMen==null){ |
302 |
cbSemMen=new JComboBox(); |
303 |
//TODO: Agregar los items
|
304 |
cbSemMen.addItem("Metros");
|
305 |
cbSemMen.addItem("Grados");
|
306 |
/*Seleccionar un item por defecto*/
|
307 |
cbSemMen.setSelectedIndex(0);
|
308 |
cbSemMen.addActionListener(this);
|
309 |
} |
310 |
return cbSemMen;
|
311 |
} |
312 |
/**
|
313 |
* Inicializa el JLabel Datum
|
314 |
* @return
|
315 |
*/
|
316 |
public JLabel getLblDatum() { |
317 |
if (lblDatum==null){ |
318 |
lblDatum=new JLabel(); |
319 |
//TODO: Comprobar que funcionan las traducciones
|
320 |
//lblDatum.setText(PluginServices.getText(this,"jpDat_Datum"));
|
321 |
lblDatum.setText("Datum");
|
322 |
} |
323 |
return lblDatum;
|
324 |
} |
325 |
/**
|
326 |
* Inicializa el JLabel Elipsoide
|
327 |
* @return
|
328 |
*/
|
329 |
public JLabel getLblElipsoide() { |
330 |
if (lblElipsoide==null){ |
331 |
lblElipsoide=new JLabel(); |
332 |
//TODO: Comprobar que funcionan las traducciones
|
333 |
//lblElipsoide.setText(PluginServices.getText(this,"jpDat_Elips"));
|
334 |
lblElipsoide.setText("Elipsoide");
|
335 |
} |
336 |
return lblElipsoide;
|
337 |
} |
338 |
/**
|
339 |
* Inicializa el JLabel Inverse Flat
|
340 |
* @return
|
341 |
*/
|
342 |
public JLabel getLblInvF() { |
343 |
if (lblInvF==null){ |
344 |
lblInvF=new JLabel(); |
345 |
//TODO: Comprobar que funcionan las traducciones
|
346 |
//lblInvF.setText(PluginServices.getText(this,"jpDat_InvF"));
|
347 |
lblInvF.setText("Inverse Flat");
|
348 |
} |
349 |
return lblInvF;
|
350 |
} |
351 |
/**
|
352 |
* Inicializa el JLabel Longitud
|
353 |
* @return
|
354 |
*/
|
355 |
public JLabel getLblLong() { |
356 |
if (lblLong==null){ |
357 |
lblLong=new JLabel(); |
358 |
//TODO: Comprobar que funcionan las traducciones
|
359 |
//lblLong.setText(PluginServices.getText(this,"jpDat_Long"));
|
360 |
lblLong.setText("Longitud");
|
361 |
} |
362 |
return lblLong;
|
363 |
} |
364 |
/**
|
365 |
* Inicializa el JLabel Meridiano
|
366 |
* @return
|
367 |
*/
|
368 |
public JLabel getLblMeridian() { |
369 |
if (lblMeridian==null){ |
370 |
lblMeridian=new JLabel(); |
371 |
//TODO: Comprobar que funcionan las traducciones
|
372 |
//lblMeridian.setText(PluginServices.getText(this,"jpDat_Meridian"));
|
373 |
lblMeridian.setText("Meridiano");
|
374 |
} |
375 |
return lblMeridian;
|
376 |
} |
377 |
/**
|
378 |
* Inicializa el JLabel Semieje Mayor
|
379 |
* @return
|
380 |
*/
|
381 |
public JLabel getLblSemMay() { |
382 |
if (lblSemMay==null){ |
383 |
lblSemMay=new JLabel(); |
384 |
//TODO: Comprobar que funcionan las traducciones
|
385 |
//lblSemMay.setText(PluginServices.getText(this,"jpDat_SemMay"));
|
386 |
lblSemMay.setText("Semieje Mayor");
|
387 |
} |
388 |
return lblSemMay;
|
389 |
} |
390 |
/**
|
391 |
* Inicializa el JLabel Semieje Menor
|
392 |
* @return
|
393 |
*/
|
394 |
public JLabel getLblSemMen() { |
395 |
if (lblSemMen==null){ |
396 |
lblSemMen=new JLabel(); |
397 |
//TODO: Comprobar que funcionan las traducciones
|
398 |
//lblSemMen.setText(PluginServices.getText(this,"jpDat_SemMen"));
|
399 |
lblSemMen.setText("Semieje Menor");
|
400 |
} |
401 |
return lblSemMen;
|
402 |
} |
403 |
/**
|
404 |
* Inicializa el radio button Inverse Flat del elipsoide
|
405 |
* @return
|
406 |
*/
|
407 |
public JRadioButton getRbInvF() { |
408 |
if(rbInvF==null){ |
409 |
rbInvF=new JRadioButton(); |
410 |
//TODO: Comprobar que funcionan las traducciones
|
411 |
//rbInvF.setToolTipText(PluginServices.getText(this,"jpDat_InvFToolTipText"));
|
412 |
rbInvF.setToolTipText("Fijar el parmetro Inverse Flat");
|
413 |
rbInvF.addActionListener(this);
|
414 |
} |
415 |
return rbInvF;
|
416 |
} |
417 |
/**
|
418 |
* Inicializa el radio button Semieje Mayor del elipsoide
|
419 |
* @return
|
420 |
*/
|
421 |
public JRadioButton getRbSemMay() { |
422 |
if(rbSemMay==null){ |
423 |
rbSemMay=new JRadioButton(); |
424 |
// TODO: Comprobar que funcionan las traducciones
|
425 |
//rbSemMay.setToolTipText(PluginServices.getText(this,"jpDat_SemMayToolTipText"));
|
426 |
rbSemMay.setToolTipText("Fijar el parmetro Semieje Mayor");
|
427 |
rbSemMay.addActionListener(this);
|
428 |
} |
429 |
return rbSemMay;
|
430 |
} |
431 |
/**
|
432 |
* Inicializa el radio Button del Semieje Menor del elipsoide
|
433 |
* @return
|
434 |
*/
|
435 |
public JRadioButton getRbSemMen() { |
436 |
if(rbSemMen==null){ |
437 |
rbSemMen=new JRadioButton(); |
438 |
// TODO: Comprobar que funcionan las traducciones
|
439 |
//rbSemMen.setToolTipText(PluginServices.getText(this,"jpDat_SemMenToolTipText"));
|
440 |
rbSemMen.setToolTipText("Fijar el parmetro Semieje Menor");
|
441 |
rbSemMen.addActionListener(this);
|
442 |
} |
443 |
return rbSemMen;
|
444 |
} |
445 |
/**
|
446 |
* Agrupa los Radio Button de los parmetros del elipsoide
|
447 |
*
|
448 |
*/
|
449 |
private void agruparRadioButtons() { |
450 |
if(groupRadioButton==null){ |
451 |
groupRadioButton=new ButtonGroup(); |
452 |
/*Agrupar los radio Buttons*/
|
453 |
groupRadioButton.add(getRbSemMay()); |
454 |
groupRadioButton.add(getRbSemMen()); |
455 |
groupRadioButton.add(getRbInvF()); |
456 |
/*Selecciona por defecto el semieje mayor*/
|
457 |
getRbSemMay().setSelected(true);
|
458 |
} |
459 |
} |
460 |
/**
|
461 |
* Inicializa el cuadro de texto que contiene el datum
|
462 |
* @return
|
463 |
*/
|
464 |
public JTextField getTxtDatum() { |
465 |
if (txtDatum==null){ |
466 |
txtDatum=new JTextField(); |
467 |
bigSize.height=txtDatum.getPreferredSize().height; |
468 |
txtDatum.setPreferredSize(bigSize); |
469 |
txtDatum.addActionListener(this);
|
470 |
} |
471 |
return txtDatum;
|
472 |
} |
473 |
/**
|
474 |
* Inicializa el cuadro de texto que contiene el elipsoide
|
475 |
* @return
|
476 |
*/
|
477 |
public JTextField getTxtElipsoide() { |
478 |
if (txtElipsoide==null){ |
479 |
txtElipsoide=new JTextField(); |
480 |
txtElipsoide.addActionListener(this);
|
481 |
} |
482 |
return txtElipsoide;
|
483 |
} |
484 |
/**
|
485 |
* Inicializa el cuadro de texto que contiene el Inverse Flat del Elipsoide
|
486 |
* @return
|
487 |
*/
|
488 |
public JTextField getTxtInvF() { |
489 |
if (txtInvF==null){ |
490 |
txtInvF=new JTextField(); |
491 |
smallSize.height=txtInvF.getPreferredSize().height; |
492 |
txtInvF.setPreferredSize(smallSize); |
493 |
txtInvF.addActionListener(this);
|
494 |
} |
495 |
return txtInvF;
|
496 |
} |
497 |
/**
|
498 |
* Inicializa el cuadro de texto que contiene el dato de longitud del
|
499 |
* meridiano
|
500 |
* @return
|
501 |
*/
|
502 |
public JTextField getTxtLong() { |
503 |
if (txtLong==null){ |
504 |
txtLong=new JTextField(); |
505 |
smallSize.height=txtLong.getPreferredSize().height; |
506 |
txtLong.setPreferredSize(smallSize); |
507 |
txtLong.addActionListener(this);
|
508 |
} |
509 |
return txtLong;
|
510 |
} |
511 |
/**
|
512 |
* Inicializa el cuadro de texto que contiene el meridiano
|
513 |
* @return
|
514 |
*/
|
515 |
public JTextField getTxtMeridian() { |
516 |
if (txtMeridian==null){ |
517 |
txtMeridian=new JTextField(); |
518 |
txtMeridian.addActionListener(this);
|
519 |
} |
520 |
return txtMeridian;
|
521 |
} |
522 |
/**
|
523 |
* Inicializa el cuadro de texto que contiene el Semieje Mayor
|
524 |
* del elipsoide
|
525 |
* @return
|
526 |
*/
|
527 |
public JTextField getTxtSemMay() { |
528 |
if (txtSemMay==null){ |
529 |
txtSemMay=new JTextField(); |
530 |
smallSize.height=txtSemMay.getPreferredSize().height; |
531 |
txtSemMay.setPreferredSize(smallSize); |
532 |
txtSemMay.addActionListener(this);
|
533 |
} |
534 |
return txtSemMay;
|
535 |
} |
536 |
/**
|
537 |
* Inicializa el cuadro de texto que contiene el semieje
|
538 |
* menor del elipsoide
|
539 |
* @return
|
540 |
*/
|
541 |
public JTextField getTxtSemMen() { |
542 |
if (txtSemMen==null){ |
543 |
txtSemMen=new JTextField(); |
544 |
smallSize.height=txtSemMen.getPreferredSize().height; |
545 |
txtSemMen.setPreferredSize(smallSize); |
546 |
txtSemMen.addActionListener(this);
|
547 |
} |
548 |
return txtSemMen;
|
549 |
} |
550 |
/*
|
551 |
* Manejador de eventos de los controles
|
552 |
*/
|
553 |
public void actionPerformed(ActionEvent e) { |
554 |
|
555 |
if(e.getSource().equals(getTxtDatum())){
|
556 |
System.out.println("txt Datum"); |
557 |
}else if(e.getSource().equals(getTxtElipsoide())){ |
558 |
System.out.println("txt Elipsoide"); |
559 |
}else if(e.getSource().equals(getTxtInvF())){ |
560 |
System.out.println("txt Inverse Flat"); |
561 |
}else if(e.getSource().equals(getTxtSemMay())){ |
562 |
System.out.println("txt Semieje Mayor"); |
563 |
}else if(e.getSource().equals(getTxtSemMen())){ |
564 |
System.out.println("txt Semieje Menor"); |
565 |
}else if(e.getSource().equals(getTxtLong())){ |
566 |
System.out.println("txt Longitud"); |
567 |
}else if(e.getSource().equals(getTxtMeridian())){ |
568 |
System.out.println("txt Meridiano"); |
569 |
}else if(e.getSource().equals(getCbInvF())){ |
570 |
System.out.println("combo box Inverse Flat"); |
571 |
}else if(e.getSource().equals(getCbLong())){ |
572 |
System.out.println("combo box Longitud"); |
573 |
}else if(e.getSource().equals(getCbSemMay())){ |
574 |
System.out.println("combo box Semieje Mayor"); |
575 |
}else if(e.getSource().equals(getCbSemMen())){ |
576 |
System.out.println("combo box Semieje Menor"); |
577 |
}else if(e.getSource().equals(getBtnImportDatum())){ |
578 |
System.out.println("Importar Datum"); |
579 |
}else if(e.getSource().equals(getBtnImportElipsoide())){ |
580 |
System.out.println("Importar Elipsoide"); |
581 |
}else if(e.getSource().equals(getBtnImportMeridian())){ |
582 |
System.out.println("Importar Meridiano"); |
583 |
}else if(e.getSource().equals(getRbInvF())){ |
584 |
System.out.println("opcion Inverse Flat"); |
585 |
}else if(e.getSource().equals(getRbSemMay())){ |
586 |
System.out.println("opcion Semieje Mayor"); |
587 |
}else if(e.getSource().equals(getRbSemMen())){ |
588 |
System.out.println("opcion Semieje Menor"); |
589 |
} |
590 |
|
591 |
} |
592 |
|
593 |
|
594 |
} |