Revision 30543 branches/v2_0_0_prep/extensions/extRasterTools-SE/src/org/gvsig/rastertools/enhanced/ui/SelectorsPanel.java
SelectorsPanel.java | ||
---|---|---|
163 | 163 |
public JComboBox getHistogramType() { |
164 | 164 |
if (histogramType == null) { |
165 | 165 |
histogramType = new JComboBox(); |
166 |
histogramType.addItem("Standard");
|
|
167 |
histogramType.addItem("Cumulative");
|
|
168 |
histogramType.addItem("Logarithmic");
|
|
169 |
histogramType.addItem("Cumulative Logarithmic");
|
|
166 |
histogramType.addItem(RasterToolsUtil.getText(this, "standard"));
|
|
167 |
histogramType.addItem(RasterToolsUtil.getText(this, "cumulative"));
|
|
168 |
histogramType.addItem(RasterToolsUtil.getText(this, "logaritmic"));
|
|
169 |
histogramType.addItem(RasterToolsUtil.getText(this, "cumulative_logarithmic"));
|
|
170 | 170 |
} |
171 | 171 |
return histogramType; |
172 | 172 |
} |
... | ... | |
178 | 178 |
public JComboBox getDrawType() { |
179 | 179 |
if (drawType == null) { |
180 | 180 |
drawType = new JComboBox(); |
181 |
drawType.addItem("Line");
|
|
182 |
drawType.addItem("Fill");
|
|
181 |
drawType.addItem(RasterToolsUtil.getText(this, "line"));
|
|
182 |
drawType.addItem(RasterToolsUtil.getText(this, "fill"));
|
|
183 | 183 |
} |
184 | 184 |
return drawType; |
185 | 185 |
} |
... | ... | |
196 | 196 |
band.addItem(DatasetColorInterpretation.GRAY_BAND); |
197 | 197 |
} else { |
198 | 198 |
if (graphicBase.getHistogramStatus(HistogramGraphicBase.RED) != null) |
199 |
band.addItem(DatasetColorInterpretation.RED_BAND);
|
|
199 |
band.addItem(RasterToolsUtil.getText(this, "red"));
|
|
200 | 200 |
if (graphicBase.getHistogramStatus(HistogramGraphicBase.GREEN) != null) |
201 |
band.addItem(DatasetColorInterpretation.GREEN_BAND);
|
|
201 |
band.addItem(RasterToolsUtil.getText(this, "green"));
|
|
202 | 202 |
if (graphicBase.getHistogramStatus(HistogramGraphicBase.BLUE) != null) |
203 |
band.addItem(DatasetColorInterpretation.BLUE_BAND);
|
|
203 |
band.addItem(RasterToolsUtil.getText(this, "blue"));
|
|
204 | 204 |
} |
205 | 205 |
} |
206 | 206 |
return band; |
... | ... | |
213 | 213 |
public JComboBox getEnhancedType() { |
214 | 214 |
if (enhancedType == null) { |
215 | 215 |
enhancedType = new JComboBox(); |
216 |
enhancedType.addItem("Lineal");
|
|
217 |
enhancedType.addItem("Square-root");
|
|
218 |
enhancedType.addItem("Logaritmic");
|
|
219 |
enhancedType.addItem("Exponential");
|
|
220 |
enhancedType.addItem("Level-slice");
|
|
221 |
// enhancedType.addItem("Gaussian");
|
|
222 |
// enhancedType.addItem("Equalization");
|
|
216 |
enhancedType.addItem(RasterToolsUtil.getText(this, "lineal"));
|
|
217 |
enhancedType.addItem(RasterToolsUtil.getText(this, "square_root"));
|
|
218 |
enhancedType.addItem(RasterToolsUtil.getText(this, "logaritmic"));
|
|
219 |
enhancedType.addItem(RasterToolsUtil.getText(this, "exponential"));
|
|
220 |
enhancedType.addItem(RasterToolsUtil.getText(this, "level_slice"));
|
|
221 |
// enhancedType.addItem(RasterToolsUtil.getText(this, "gaussian"));
|
|
222 |
// enhancedType.addItem(RasterToolsUtil.getText(this, "equalization"));
|
|
223 | 223 |
} |
224 | 224 |
return enhancedType; |
225 | 225 |
} |
Also available in: Unified diff