gvsig-raster / org.gvsig.raster.tools / trunk / org.gvsig.raster.tools / org.gvsig.raster.tools.app / org.gvsig.raster.tools.app.basic / src / main / java / org / gvsig / raster / tools / app / basic / tool / infobypoint / gui / PixelViewPanel.java @ 1145
History | View | Annotate | Download (1.89 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
*/
|
22 |
package org.gvsig.raster.tools.app.basic.tool.infobypoint.gui; |
23 |
|
24 |
import java.util.HashMap; |
25 |
|
26 |
import javax.swing.JPanel; |
27 |
|
28 |
public class PixelViewPanel extends JPanel { |
29 |
private static final long serialVersionUID = 1L; |
30 |
private HashMap<String, String> tr = null; |
31 |
private InfoByPointDataModel dataModel = null; |
32 |
|
33 |
public PixelViewPanel(HashMap<String, String> translations, InfoByPointDataModel dataModel) { |
34 |
tr = translations; |
35 |
if(tr == null || tr.get("layer_list") == null) { |
36 |
tr = new HashMap<String, String>(); |
37 |
tr.put("layer_list", "layer_list"); |
38 |
tr.put("band_values", "band_values"); |
39 |
tr.put("pixel_point", "pixel_point"); |
40 |
tr.put("view_point", "view_point"); |
41 |
tr.put("world_point", "world_point"); |
42 |
tr.put("bands", "bands"); |
43 |
tr.put("colors", "colors"); |
44 |
tr.put("coords", "coords"); |
45 |
tr.put("lat", "lat"); |
46 |
tr.put("long", "long"); |
47 |
} |
48 |
this.dataModel = dataModel;
|
49 |
init(); |
50 |
} |
51 |
|
52 |
private void init() { |
53 |
|
54 |
} |
55 |
|
56 |
public void updateDataModel() { |
57 |
|
58 |
} |
59 |
} |