Revision 18602 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/ui/options/CheckOptionsPanel.java
CheckOptionsPanel.java | ||
---|---|---|
26 | 26 |
import javax.swing.JCheckBox; |
27 | 27 |
import javax.swing.JPanel; |
28 | 28 |
|
29 |
import org.gvsig.gui.beans.datainput.DataInputContainer; |
|
29 | 30 |
import org.gvsig.raster.util.RasterToolsUtil; |
30 | 31 |
|
31 | 32 |
/** |
... | ... | |
37 | 38 |
public class CheckOptionsPanel extends JPanel { |
38 | 39 |
private static final long serialVersionUID = 1L; |
39 | 40 |
|
41 |
private DataInputContainer threshold = null; |
|
40 | 42 |
private JCheckBox showNumber = null; |
41 | 43 |
private JCheckBox addErrorInCSV = null; |
42 | 44 |
private JCheckBox centerPoint = null; |
... | ... | |
78 | 80 |
|
79 | 81 |
gbc.gridy = 4; |
80 | 82 |
add(getCenterViewCheck(), gbc); |
83 |
|
|
84 |
gbc.gridy = 5; |
|
85 |
add(getThresholdError(), gbc); |
|
81 | 86 |
} |
82 | 87 |
|
83 | 88 |
/** |
89 |
* Obtiene el control para selecci?n de umbral de error |
|
90 |
* @return JButton |
|
91 |
*/ |
|
92 |
public DataInputContainer getThresholdError() { |
|
93 |
if(threshold == null) { |
|
94 |
threshold = new DataInputContainer(); |
|
95 |
threshold.setLabelText(RasterToolsUtil.getText(this, "umbral_error")); |
|
96 |
} |
|
97 |
return threshold; |
|
98 |
} |
|
99 |
|
|
100 |
/** |
|
84 | 101 |
* Obtiene el selector de color para el fondo |
85 | 102 |
* @return JButton |
86 | 103 |
*/ |
... | ... | |
135 | 152 |
return centerPoint; |
136 | 153 |
} |
137 | 154 |
|
138 |
//-------Consulta de propiedades seleccionadas--------- |
|
139 |
|
|
140 | 155 |
} |
141 | 156 |
|
Also available in: Unified diff