|
TV-Browser 3.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttvbrowser.core.icontheme.InfoThemeLoader
public class InfoThemeLoader
A class to load all available info icon themes.
Field Summary | |
---|---|
static java.lang.String |
DOWNLOAD_SPEC_URL
The url of the download specs. |
static java.io.File |
USER_ICON_DIR
The icon dir of the current user. |
Method Summary | |
---|---|
void |
addIconTheme(java.io.File iconTheme)
Adds a theme to the theme map. |
InfoIconTheme[] |
getAvailableInfoIconThemes()
|
InfoIconTheme |
getDefaultTheme()
Gets the default info icon theme. |
InfoIconTheme |
getIconThemeForID(java.lang.String id)
Gets the theme with the given ID. |
InfoIconTheme |
getIconThemeForIDOrDefault(java.lang.String id)
Gets the theme with the given ID or the default theme if no theme with ID exists. |
static InfoThemeLoader |
getInstance()
Get the instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.io.File USER_ICON_DIR
public static final java.lang.String DOWNLOAD_SPEC_URL
Method Detail |
---|
public void addIconTheme(java.io.File iconTheme)
iconTheme
- The theme to add.public static InfoThemeLoader getInstance()
public InfoIconTheme getIconThemeForID(java.lang.String id)
id
- The ID of the theme to get.
null
if no theme with ID exists.public InfoIconTheme getIconThemeForIDOrDefault(java.lang.String id)
id
- The ID of the theme to get.
public InfoIconTheme getDefaultTheme()
public InfoIconTheme[] getAvailableInfoIconThemes()
|
TV-Browser 3.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |