Statistics
| Revision:

svn-gvsig-desktop / tags / J2ME_compat_v1_2_Build_1209 / frameworks / _fwAndami / src / com / iver / andami / iconthemes / IconThemeMemory.java @ 19520

History | View | Annotate | Download (689 Bytes)

1
package com.iver.andami.iconthemes;
2

    
3
import java.net.URL;
4

    
5
import javax.swing.ImageIcon;
6

    
7
/**
8
 * This class is used by the default theme and don�t load icons because they are already
9
 * in memory.
10
 */
11
public class IconThemeMemory extends AbstractIconTheme{
12

    
13

    
14

    
15

    
16
        /**
17
         * Constructor
18
         * @param def. The default icon theme
19
         */
20
        public IconThemeMemory(IIconTheme def) {
21
                setDefault(def);
22
        }
23

    
24
        /**
25
         * Return null, don�t load the icon
26
         */
27
        // @Override
28
        protected ImageIcon loadIcon(String iconName,Object resource) {
29
                return null;
30
        }
31

    
32
        /**
33
         * Don�t load any icon. They are already in memory
34
         */
35
        // @Override
36
        public void load() {
37

    
38

    
39
        }
40

    
41
}