Statistics
| Revision:

svn-gvsig-desktop / import / ext3D / branches / ext3D_v1.1 / extAnimationCommon / src / com / iver / cit / gvsig / animation / AnimationTypeFactoryTransparency.java @ 15498

History | View | Annotate | Download (1020 Bytes)

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

    
3

    
4
public class AnimationTypeFactoryTransparency extends AnimationFactory {
5

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

    
35
        public String getRegisterName() {
36
                return registerName;
37
        }
38

    
39
}