svn-gvsig-desktop / trunk / extensions / extAnimationCommon / src / com / iver / cit / gvsig / animation / AnimationKeyFrameTransparencyFactory.java @ 18419
History | View | Annotate | Download (705 Bytes)
1 |
package com.iver.cit.gvsig.animation; |
---|---|
2 |
|
3 |
|
4 |
public class AnimationKeyFrameTransparencyFactory extends AnimationFactory { |
5 |
|
6 |
public static String registerName = "KeyFrameTransparency"; |
7 |
|
8 |
|
9 |
/**
|
10 |
* Creating a new animation in the factory.
|
11 |
*/
|
12 |
public Object create() { |
13 |
KeyFrameTransparency keyFrameTransparency = new KeyFrameTransparency();
|
14 |
return keyFrameTransparency;
|
15 |
} |
16 |
|
17 |
/**
|
18 |
* Registers in the points of extension the Factory with alias.
|
19 |
*/
|
20 |
public static void register() { |
21 |
register(registerName, new AnimationKeyFrameTransparencyFactory(), "com.iver.cit.gvsig.animation.KeyFrameTransparency"); |
22 |
} |
23 |
|
24 |
public String getRegisterName() { |
25 |
return registerName;
|
26 |
} |
27 |
|
28 |
} |