public class InfoThemeLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.io.File USER_ICON_DIR
public static final java.lang.String DOWNLOAD_SPEC_URL
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.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)