svn-gvsig-desktop / branches / v2_0_0_prep / frameworks / _fwAndami / src / org / gvsig / tools / swing / icontheme / IconThemeManager.java @ 38564
History | View | Annotate | Download (944 Bytes)
1 |
package org.gvsig.tools.swing.icontheme; |
---|---|
2 |
|
3 |
import java.util.Iterator; |
4 |
|
5 |
import org.gvsig.tools.util.FolderSet; |
6 |
|
7 |
public interface IconThemeManager { |
8 |
|
9 |
/**
|
10 |
* Gets the default theme
|
11 |
* @return the default theme.
|
12 |
*/
|
13 |
public IconTheme getDefault();
|
14 |
|
15 |
/**
|
16 |
* Sets the iconTheme like current theme
|
17 |
* @param iconTheme
|
18 |
*/
|
19 |
public void setCurrent(IconTheme iconTheme); |
20 |
|
21 |
/**
|
22 |
* Gets the current theme
|
23 |
* @return current the current theme
|
24 |
*/
|
25 |
public IconTheme getCurrent();
|
26 |
|
27 |
/**
|
28 |
* Returns the theme that has been registered with the name that receives like
|
29 |
* parameter
|
30 |
* @param themeName
|
31 |
* @return the theme that contains like name in its properties the parameter
|
32 |
*/
|
33 |
public IconTheme get(String themeID); |
34 |
|
35 |
public boolean contains(IconTheme theme); |
36 |
|
37 |
public Iterator<IconTheme> iterator(); |
38 |
|
39 |
public boolean add(IconTheme theme); |
40 |
|
41 |
public boolean remove(IconTheme theme); |
42 |
|
43 |
public void clear(); |
44 |
|
45 |
public FolderSet getRepository();
|
46 |
} |