Revision 15445 import/ext3D/branches/ext3D_v1.1/libAnimation/src/com/iver/cit/gvsig/animation/keyframe/AnimationFunction.java
AnimationFunction.java | ||
---|---|---|
1 | 1 |
package com.iver.cit.gvsig.animation.keyframe; |
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 |
|
|
5 | 4 |
import com.iver.utiles.IPersistance; |
6 | 5 |
import com.iver.utiles.XMLEntity; |
7 | 6 |
|
8 | 7 |
public class AnimationFunction implements IPersistance{ |
9 | 8 |
|
10 | 9 |
private List AnimationFunctionList; |
10 |
private String className; |
|
11 | 11 |
|
12 | 12 |
//private AnimationFunction animationFunctionItem; |
13 | 13 |
|
... | ... | |
36 | 36 |
public XMLEntity getXMLEntity() { |
37 | 37 |
// TODO Auto-generated method stub |
38 | 38 |
XMLEntity xml = new XMLEntity(); |
39 |
xml.putProperty("className", this.getClassName()); |
|
40 | 39 |
|
40 |
xml.putProperty("class_name", this.getClassName()); |
|
41 | 41 |
for (int i = 0; i < this.AnimationFunctionList.size(); i++) { |
42 | 42 |
AnimationFunction animationFunctionItem = (AnimationFunction) this.AnimationFunctionList.get(i); |
43 |
//animationFunctionItem.get
|
|
43 |
return null;//provisional
|
|
44 | 44 |
} |
45 | 45 |
return null; |
46 | 46 |
} |
... | ... | |
49 | 49 |
public void setXMLEntity(XMLEntity xml) { |
50 | 50 |
// TODO Auto-generated method stub |
51 | 51 |
|
52 |
|
|
52 |
if (xml.contains("class_name")) |
|
53 |
className = xml.getStringProperty("class_name"); |
|
53 | 54 |
for (int i = 0; i < this.AnimationFunctionList.size(); i++) { |
54 | 55 |
AnimationFunction animationFunctionItem = (AnimationFunction) this.AnimationFunctionList.get(i); |
55 |
//animationFunctionItem.set
|
|
56 |
return; //provisional
|
|
56 | 57 |
} |
57 | 58 |
|
58 | 59 |
} |
Also available in: Unified diff