|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.Plugin
genreplugin.GenrePlugin
public class GenrePlugin
| Field Summary |
|---|
| Fields inherited from class devplugin.Plugin |
|---|
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME |
| Fields inherited from interface genreplugin.IGenreSettings |
|---|
FILTERED_GENRE, FILTERED_GENRES_COUNT, SETTINGS_DAYS |
| Constructor Summary | |
|---|---|
GenrePlugin()
|
|
| Method Summary | |
|---|---|
boolean |
canUseProgramTree()
Signal whether this plugin participates in the plugin tree view or not. |
protected void |
getFilterFromSettings()
|
PluginInfo |
getInfo()
Gets the meta information about the plugin. |
protected static GenrePlugin |
getInstance()
|
ThemeIcon |
getMarkIconFromTheme()
This gets the ThemeIcon containg your mark icon. |
PluginTreeNode |
getRootNode()
Gets the root node of the plugin for the plugin tree. |
SettingsTab |
getSettingsTab()
Gets the SettingsTab object, which is added to the settings-window. |
static Version |
getVersion()
|
void |
handleTvBrowserStartFinished()
This method is called when the TV-Browser start is finished. |
void |
handleTvDataUpdateFinished()
This method is automatically called, when the TV data update is finished. |
void |
hideGenre(String genre)
|
void |
loadSettings(Properties settings)
Called by the host-application during start-up. |
void |
onActivation()
This method is automatically called immediatly before the plugin gets activated. |
void |
saveSettings(Object[] hidden)
|
Properties |
storeSettings()
Called by the host-application during shut-down. |
protected void |
updateRootNode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenrePlugin()
| Method Detail |
|---|
protected static GenrePlugin getInstance()
public boolean canUseProgramTree()
Plugin
canUseProgramTree in class PluginPlugin.getRootNode()public static Version getVersion()
public PluginInfo getInfo()
PluginOverride this method to provide information about your plugin.
getInfo in class Pluginpublic PluginTreeNode getRootNode()
Plugin
getRootNode in class PluginPlugin.canUseProgramTree()public SettingsTab getSettingsTab()
PluginOverride this method to provide a settings tab. The settings tab will be shown in the settings dialog in the plugin section.
getSettingsTab in class Pluginnull if the plugin does not
provide this feature.protected void updateRootNode()
public void handleTvBrowserStartFinished()
Plugin
handleTvBrowserStartFinished in class Pluginpublic ThemeIcon getMarkIconFromTheme()
PluginPluginManager.getIconFromTheme(Plugin, String, String, int)
getMarkIconFromTheme in class Pluginpublic void handleTvDataUpdateFinished()
PluginOverride this method to react on this event. If you want to read data from the internet use this method to track if a connection was established. ATTENTION: If you do so take care of the TV-Browser start, at the start this method mustn't use an internet connection. Use the method handleTvBrowserStartFinished() to track if the TV-Browser start was finished before allowing access to the internet in this method.
handleTvDataUpdateFinished in class PluginPlugin.handleTvBrowserStartFinished(),
Plugin.handleTvDataAdded(ChannelDayProgram),
Plugin.handleTvDataDeleted(ChannelDayProgram),
Plugin.handleTvDataChanged()public void loadSettings(Properties settings)
PluginOverride this method to load your plugins settings from the file system.
loadSettings in class Pluginsettings - The settings for this plugin (May be empty).public Properties storeSettings()
PluginOverride this method to store your plugins settings to the file system. ATTENTION: Don't use any logger, thread or access to Frames in this method.
storeSettings in class Pluginnull if this plugin
does not need to save any settings.public void hideGenre(String genre)
protected void getFilterFromSettings()
public void saveSettings(Object[] hidden)
public void onActivation()
Plugin
onActivation in class Plugin
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||