Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libAnimationCommon / src / main / java / com / iver / cit / gvsig / animation / animationType / AnimationTypeFactoryTransparency.java @ 20153

History | View | Annotate | Download (1.07 KB)

1
package com.iver.cit.gvsig.animation.animationType;
2

    
3
import com.iver.cit.gvsig.animation.AnimationFactory;
4

    
5

    
6
public class AnimationTypeFactoryTransparency extends AnimationFactory {
7

    
8
        public static String registerName = "AnimationTransparency";
9
        
10
        
11
        public static AnimationTransparency animationTransparency;
12
        
13
        static {
14
                if (animationTransparency == null) {
15
                        animationTransparency = new AnimationTransparency();
16
                        animationTransparency.setClassName("AnimationTransparency");
17
                        animationTransparency.setName("AnimationTransparency");
18
                        animationTransparency.setDescription("Animacion basada en transparencias.");
19
                }
20
        }
21
        
22
        /**
23
         * Creating a new animation in the factory.
24
         */
25
        public Object create() {
26
                
27
       return animationTransparency;
28
        }
29
        
30
        /**
31
         * Registers in the points of extension the Factory with alias.
32
         */
33
        public static void register() {
34
                register(registerName, new AnimationTypeFactoryTransparency(), "com.iver.cit.gvsig.animation.AnimationTransparency");
35
        }
36

    
37
        public String getRegisterName() {
38
                return registerName;
39
        }
40

    
41
}