Revision 4417 trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/panels/WCSParamsPanel.java
WCSParamsPanel.java | ||
---|---|---|
141 | 141 |
private int indTime; |
142 | 142 |
private int indParameter; |
143 | 143 |
public static Preferences fPrefs = Preferences.userRoot().node( "gvsig.wcs-wizard" ); |
144 |
private JLabel jLabel1 = null; |
|
145 |
private JComboBox cmbInterpolationMethods = null; |
|
146 |
private JCheckBox chkUseInterpolationMethod = null; |
|
144 | 147 |
/** |
145 | 148 |
* This method initializes jTabbedPane |
146 | 149 |
* |
... | ... | |
452 | 455 |
*/ |
453 | 456 |
private JPanel getJPanel3() { |
454 | 457 |
if (jPanel3 == null) { |
458 |
|
|
455 | 459 |
jPanel3 = new JPanel(); |
456 | 460 |
jPanel3.setLayout(null); |
457 | 461 |
jPanel3.setBounds(5, 17, 464, 189); |
... | ... | |
460 | 464 |
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, |
461 | 465 |
javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
462 | 466 |
jPanel3.add(getJScrollPane1(), null); |
467 |
|
|
468 |
jPanel3.add(getCmbInterpolationMethods(), null); |
|
469 |
jPanel3.add(getChkUseInterpolationMethod(), null); |
|
463 | 470 |
} |
464 | 471 |
return jPanel3; |
465 | 472 |
} |
... | ... | |
649 | 656 |
private JScrollPane getJScrollPane1() { |
650 | 657 |
if (jScrollPane1 == null) { |
651 | 658 |
jScrollPane1 = new JScrollPane(); |
652 |
jScrollPane1.setBounds(6, 19, 450, 163);
|
|
659 |
jScrollPane1.setBounds(6, 19, 229, 163);
|
|
653 | 660 |
jScrollPane1.setViewportView(getLstFormats()); |
654 | 661 |
} |
655 | 662 |
return jScrollPane1; |
... | ... | |
1371 | 1378 |
public void setListenerSupport(WizardListenerSupport support) { |
1372 | 1379 |
listenerSupport = support; |
1373 | 1380 |
} |
1381 |
/** |
|
1382 |
* This method initializes jComboBox |
|
1383 |
* |
|
1384 |
* @return javax.swing.JComboBox |
|
1385 |
*/ |
|
1386 |
private JComboBox getCmbInterpolationMethods() { |
|
1387 |
if (cmbInterpolationMethods == null) { |
|
1388 |
cmbInterpolationMethods = new JComboBox(); |
|
1389 |
cmbInterpolationMethods.setBounds(new java.awt.Rectangle(245,45,210,20)); |
|
1390 |
cmbInterpolationMethods.setEnabled(false); |
|
1391 |
cmbInterpolationMethods.setEditable(false); |
|
1392 |
} |
|
1393 |
return cmbInterpolationMethods; |
|
1394 |
} |
|
1395 |
/** |
|
1396 |
* This method initializes jCheckBox |
|
1397 |
* |
|
1398 |
* @return javax.swing.JCheckBox |
|
1399 |
*/ |
|
1400 |
private JCheckBox getChkUseInterpolationMethod() { |
|
1401 |
if (chkUseInterpolationMethod == null) { |
|
1402 |
chkUseInterpolationMethod = new JCheckBox(); |
|
1403 |
chkUseInterpolationMethod.setText(PluginServices.getText(this, "use_interpolation_method")); |
|
1404 |
chkUseInterpolationMethod.setSelected(false); |
|
1405 |
chkUseInterpolationMethod.setBounds(new java.awt.Rectangle(245,19,210,20)); |
|
1406 |
chkUseInterpolationMethod.addItemListener(new java.awt.event.ItemListener() { |
|
1407 |
public void itemStateChanged(java.awt.event.ItemEvent e) { |
|
1408 |
cmbInterpolationMethods.setEnabled(chkUseInterpolationMethod.isSelected()); |
|
1409 |
} |
|
1410 |
}); |
|
1411 |
} |
|
1412 |
return chkUseInterpolationMethod; |
|
1413 |
} |
|
1374 | 1414 |
} |
Also available in: Unified diff