Revision 14512
trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/principalcomponents/gui/PrincipalComponentPanel.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
package org.gvsig.remotesensing.principalcomponents.gui; |
44 | 44 |
|
45 |
|
|
46 |
|
|
47 |
|
|
48 | 45 |
import info.clearthought.layout.TableLayout; |
49 | 46 |
|
50 | 47 |
import java.awt.BorderLayout; |
... | ... | |
70 | 67 |
import javax.swing.border.EmptyBorder; |
71 | 68 |
import javax.swing.border.TitledBorder; |
72 | 69 |
|
73 |
|
|
74 | 70 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
75 | 71 |
import org.gvsig.gui.beans.incrementabletask.IncrementableTask; |
76 |
import org.gvsig.raster.buffer.BufferFactory; |
|
77 |
import org.gvsig.raster.buffer.RasterBufferInvalidException; |
|
78 | 72 |
import org.gvsig.raster.grid.Grid; |
79 | 73 |
import org.gvsig.remotesensing.principalcomponents.PCStatisticsProcess; |
80 | 74 |
|
... | ... | |
87 | 81 |
import com.iver.utiles.swing.JComboBox; |
88 | 82 |
|
89 | 83 |
|
90 |
|
|
91 | 84 |
/** |
92 | 85 |
* Clase que implementa la ventana de seleccion de parametros para el calculo componentes principales. |
93 |
* @author Alejandro Mu?oz Sanchez |
|
86 |
* @author Alejandro Mu?oz Sanchez (alejandro.munoz@uclm.es)
|
|
94 | 87 |
* |
95 | 88 |
* */ |
96 | 89 |
public class PrincipalComponentPanel extends JPanel implements IWindow,ActionListener,FocusListener { |
... | ... | |
109 | 102 |
private MapContext m_MapContext; |
110 | 103 |
private int wPanel=305; |
111 | 104 |
private int hPanel=450; |
112 |
private Grid qWindow = null; |
|
113 | 105 |
private JComboBox comboCapas; |
114 | 106 |
private FLayers layers; |
115 | 107 |
private JPanel panelImagen; |
116 | 108 |
private JTable jTableBandas; |
117 | 109 |
private JScrollPane scrollbandas; |
118 | 110 |
private View view; |
119 |
private AffineTransform atransform=null; |
|
120 | 111 |
|
112 |
|
|
121 | 113 |
|
122 | 114 |
|
123 | 115 |
|
... | ... | |
149 | 141 |
// Inicializacion del dialog. |
150 | 142 |
private void Inicializar(){ |
151 | 143 |
|
152 |
BorderLayout bd=new BorderLayout(); |
|
144 |
BorderLayout bd=new BorderLayout();
|
|
153 | 145 |
this.setLayout(bd); |
154 | 146 |
TitledBorder topBorder = BorderFactory.createTitledBorder((PluginServices.getText(this,""))); |
155 | 147 |
topBorder.setTitlePosition(TitledBorder.TOP); |
... | ... | |
166 | 158 |
|
167 | 159 |
// Panel con etiqueta y combo |
168 | 160 |
public JPanel getNorthPanel(){ |
169 |
|
|
170 | 161 |
if(northPanel==null){ |
171 | 162 |
northPanel=new JPanel(); |
172 |
|
|
173 |
northPanel.add(getPanelImagen()); |
|
174 |
|
|
163 |
northPanel.add(getPanelImagen()); |
|
175 | 164 |
} |
176 | 165 |
return northPanel; |
177 |
|
|
178 | 166 |
} |
179 | 167 |
|
180 | 168 |
|
181 | 169 |
|
182 | 170 |
// Panel con botones aceptar cancelar |
183 | 171 |
public JPanel getSouthPanel() { |
184 |
|
|
185 | 172 |
if (southPanel==null){ |
186 |
southPanel=new JPanel();
|
|
187 |
southPanel.add(getAceptar());
|
|
188 |
southPanel.add(getCancelar());
|
|
173 |
southPanel=new JPanel(); |
|
174 |
southPanel.add(getAceptar()); |
|
175 |
southPanel.add(getCancelar()); |
|
189 | 176 |
} |
190 | 177 |
return southPanel; |
191 | 178 |
} |
Also available in: Unified diff