svn-gvsig-desktop / import / ext3D / branches / ext3D_v1.1 / libAnimation / src / com / iver / cit / gvsig / animation / keyframe / AnimationFunction.java @ 15445
History | View | Annotate | Download (1.49 KB)
1 |
package com.iver.cit.gvsig.animation.keyframe; |
---|---|
2 |
|
3 |
import java.util.List; |
4 |
import com.iver.utiles.IPersistance; |
5 |
import com.iver.utiles.XMLEntity; |
6 |
|
7 |
public class AnimationFunction implements IPersistance{ |
8 |
|
9 |
private List AnimationFunctionList; |
10 |
private String className; |
11 |
|
12 |
//private AnimationFunction animationFunctionItem;
|
13 |
|
14 |
public List getAnimationFuntionList() { |
15 |
return AnimationFunctionList;
|
16 |
} |
17 |
|
18 |
public void setAnimationFuntionList(List animationFuntionList) { |
19 |
AnimationFunctionList = animationFuntionList; |
20 |
} |
21 |
|
22 |
public String toString() { |
23 |
|
24 |
String result = ""; |
25 |
|
26 |
return result;
|
27 |
} |
28 |
|
29 |
|
30 |
public String getClassName() { |
31 |
// TODO Auto-generated method stub
|
32 |
return this.getClass().getName(); |
33 |
} |
34 |
|
35 |
|
36 |
public XMLEntity getXMLEntity() {
|
37 |
// TODO Auto-generated method stub
|
38 |
XMLEntity xml = new XMLEntity();
|
39 |
|
40 |
xml.putProperty("class_name", this.getClassName()); |
41 |
for (int i = 0; i < this.AnimationFunctionList.size(); i++) { |
42 |
AnimationFunction animationFunctionItem = (AnimationFunction) this.AnimationFunctionList.get(i);
|
43 |
return null;//provisional |
44 |
} |
45 |
return null; |
46 |
} |
47 |
|
48 |
|
49 |
public void setXMLEntity(XMLEntity xml) { |
50 |
// TODO Auto-generated method stub
|
51 |
|
52 |
if (xml.contains("class_name")) |
53 |
className = xml.getStringProperty("class_name");
|
54 |
for (int i = 0; i < this.AnimationFunctionList.size(); i++) { |
55 |
AnimationFunction animationFunctionItem = (AnimationFunction) this.AnimationFunctionList.get(i);
|
56 |
return; //provisional |
57 |
} |
58 |
|
59 |
} |
60 |
} |