Revision 5988 org.gvsig.raster.multifile/trunk/org.gvsig.raster.multifile/org.gvsig.raster.multifile.app.multifileclient/src/main/java/org/gvsig/raster/multifile/app/panel/BandSelectorFileList.java

View differences:

BandSelectorFileList.java
2 2
*
3 3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4 4
* of the Valencian Government (CIT)
5
* 
5
*
6 6
* This program is free software; you can redistribute it and/or
7 7
* modify it under the terms of the GNU General Public License
8 8
* as published by the Free Software Foundation; either version 2
9 9
* of the License, or (at your option) any later version.
10
* 
10
*
11 11
* This program is distributed in the hope that it will be useful,
12 12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
* GNU General Public License for more details.
15
* 
15
*
16 16
* You should have received a copy of the GNU General Public License
17 17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 19
* MA  02110-1301, USA.
20
* 
20
*
21 21
*/
22 22
package org.gvsig.raster.multifile.app.panel;
23 23

  
......
40 40
 * Panel que contiene la lista de ficheros cargados desde donde se leen las
41 41
 * bandas visualizadas. Contiene controles para a?adir y eliminar los ficheros,
42 42
 * as? como un control para seleccionar el n?mero de bandas a visualizar.
43
 * 
43
 *
44 44
 * @author Nacho Brodin (nachobrodin@gmail.com)
45 45
 */
46 46
public class BandSelectorFileList extends JPanel {
......
70 70
		add(getJScrollPane(), BorderLayout.CENTER);
71 71
		add(getButtonsPanel(), BorderLayout.EAST);
72 72
	}
73
	
73

  
74 74
	/**
75 75
	 * This method initializes jScrollPane
76
	 * 
76
	 *
77 77
	 * @return javax.swing.JScrollPane
78 78
	 */
79 79
	private JScrollPane getJScrollPane() {
......
110 110

  
111 111
	/**
112 112
	 * This method initializes jList
113
	 * 
113
	 *
114 114
	 * @return javax.swing.JList
115 115
	 */
116 116
	public JList getJList() {
......
124 124

  
125 125
	/**
126 126
	 * This method initializes jPanel1
127
	 * 
127
	 *
128 128
	 * @return javax.swing.JPanel
129 129
	 */
130 130
	private JPanel getButtonsPanel() {
......
169 169

  
170 170
	/**
171 171
	 * Obtiene el n?mero de ficheros en la lista
172
	 * @return
172
	 * @return number of files
173 173
	 */
174 174
	public int getNFiles() {
175 175
		return listModel.size();
176 176
	}
177
	
177

  
178 178
	/**
179 179
	 * Obtiene el modelo de la lista
180 180
	 * @return DefaultListModel
......
182 182
	public DefaultListModel getModel() {
183 183
		return listModel;
184 184
	}
185
	
185

  
186 186
	/**
187 187
	 * Activa y desactiva el control
188 188
	 * @param enabled true para activar y false para desactivar

Also available in: Unified diff