Revision 11899 trunk/libraries/libRaster/src/org/gvsig/raster/dataset/Params.java

View differences:

Params.java
29 29
* @version 17/04/2007
30 30
* @author Nacho Brodin (nachobrodin@gmail.com)
31 31
*/
32
public class Params {
33
	
32
public class Params implements Cloneable {
34 33
	public static final int CHECK = 1;
35 34
	public static final int CHOICE = 2;
36 35
	public static final int SLIDER = 3;
......
162 161
	public ArrayList getParams() {
163 162
		return params;
164 163
	}
164
	
165
	/* (non-Javadoc)
166
	 * @see java.lang.Object#clone()
167
	 */
168
	public Object clone() throws CloneNotSupportedException {
169
		Object aux = super.clone();
170
		((Params) aux).params = (ArrayList) this.params.clone();
171
		return aux;
172
	}
165 173
}

Also available in: Unified diff