Revision 23596 trunk/libraries/libAnimationCommon/src/main/java/com/iver/cit/gvsig/animation/keyFrame/KeyFrameTransparency.java

View differences:

KeyFrameTransparency.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
*
3
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
*/
19

  
1 20
package com.iver.cit.gvsig.animation.keyFrame;
2 21

  
3 22
import java.util.List;
......
2 21

  
3

  
4 22
import com.iver.cit.gvsig.animation.keyframe.IKeyFrame;
5 23
import com.iver.cit.gvsig.fmap.layers.FLyrDefault;
6
import com.iver.utiles.IPersistence;
7 24
import com.iver.utiles.XMLEntity;
......
24 41
	private int levelTransparency;
25 42
	private boolean visibility;
26 43
	private FLyrDefault layerDefault;
27
	private String className;
28 44
	private String layerName;
29 45
	
30 46

  
......
47 63
	 */
48 64
	
49 65
	public String getName() {
50
		// TODO Auto-generated method stub
51 66
		return this.name;
52 67
	}
53 68

  
54
	public List getPropertiesList() {
55
		// TODO Auto-generated method stub
69
	public List<IKeyFrame> getPropertiesList() {
56 70
		return null;
57 71
	}
58 72

  
......
66 80

  
67 81
	}
68 82

  
69
	public void setPropertiesList(List list) {
83
	public void setPropertiesList(List<IKeyFrame> list) {
70 84
		// TODO Auto-generated method stub
71 85
	}
72 86

  
......
167 181

  
168 182
		try {
169 183
			this.layerName = xml.getStringProperty("layerName");
170
			Class classProp = Class.forName(this.layerName);
184
			Class<?> classProp = Class.forName(this.layerName);
171 185
			Object obj = classProp.newInstance();
172
			//IPersistence objPersist = (IPersistence) obj;
173
			//objPersist.setXMLEntity(xml);
174 186
			this.layerDefault = (FLyrDefault) obj;
175 187
		} catch (Exception e) {
176 188
			

Also available in: Unified diff