Revision 19225 trunk/libraries/libAnimation/src/com/iver/cit/gvsig/animation/interval/AnimationKeyFrameInterval.java

View differences:

AnimationKeyFrameInterval.java
16 16

  
17 17
public class AnimationKeyFrameInterval implements IAnimationTimeInterval {
18 18

  
19
	private List KeyFrameList;
19
	private List<IKeyFrame> KeyFrameList;
20 20

  
21 21
	private double initialTime = 0;
22 22

  
......
30 30

  
31 31
	private IKeyFrame keyframe;
32 32

  
33
	public List getKeyFrameList() {
33
	public List<IKeyFrame> getKeyFrameList() {
34 34
		return KeyFrameList;
35 35
	}
36 36

  
37
	public void setKeyFrameList(List keyFrameList) {
37
	public void setKeyFrameList(List<IKeyFrame> keyFrameList) {
38 38
		KeyFrameList = keyFrameList;
39 39
	}
40 40

  
......
66 66
	public String toString() {
67 67

  
68 68
		String result;
69
		List KFL = this.KeyFrameList;
69
		List<IKeyFrame> KFL = this.KeyFrameList;
70 70
		if (KFL != null) {
71 71
			result = "Mostrando lista de KeyFrames del intervalo Tini:"
72 72
					+ this.getInitialTime() + " Tend" + this.getEndTime();
73
			for (Iterator iter = KFL.iterator(); iter.hasNext();) {
73
			for (Iterator<IKeyFrame> iter = KFL.iterator(); iter.hasNext();) {
74 74
				Object element = (Object) iter.next();
75 75
				result += "\n" + element;
76 76
			}
......
88 88

  
89 89
		IKeyFrame previus = null;
90 90
		IKeyFrame next = null;
91
		List KFLInterpolate = new ArrayList();
91
		List<IKeyFrame> KFLInterpolate = new ArrayList<IKeyFrame>();
92 92

  
93
		List KFL = this.KeyFrameList;
93
		List<IKeyFrame> KFL = this.KeyFrameList;
94 94
		if (KFL != null) {
95
			for (Iterator iter = KFL.iterator(); iter.hasNext();) {
95
			for (Iterator<IKeyFrame> iter = KFL.iterator(); iter.hasNext();) {
96 96
				IKeyFrame element = (IKeyFrame) iter.next();
97 97
				double KFtime = element.getTime();
98 98
				boolean asigned = false;
......
183 183
		// Node IKeyFrame in the animation tree. Calling setXmlEntity() methods.
184 184
		// Reconstruyendo el framework. Paso: nuevos(seg?n el n?mero de keyframes del intervalo) IKeyFrame, del  
185 185
		// 									  tipo KeyFrameX, seg?n la animaci?n.
186
		List timeKeyFrameList = new ArrayList<IKeyFrame>();
186
		List<IKeyFrame> timeKeyFrameList = new ArrayList<IKeyFrame>();
187 187
		for (int i = 0; i < this.keyFrameListSize; i++) {// Desde el hijo 0.
188 188
			
189 189
			XMLEntity xmlKeyframe = xml.getChild(i);

Also available in: Unified diff