|
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
knotifyplugin.KNotifyPlugin
public class KNotifyPlugin
| Field Summary | |
|---|---|
(package private) boolean |
mInitialized
|
| Fields inherited from class devplugin.Plugin |
|---|
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME |
| Constructor Summary | |
|---|---|
KNotifyPlugin()
|
|
| Method Summary | |
|---|---|
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target. |
PluginInfo |
getInfo()
Gets the meta information about the plugin. |
Icon[] |
getMarkIconsForProgram(Program p)
This gets the mark icons for a Program. |
SettingsTab |
getSettingsTab()
Gets the SettingsTab object, which is added to the settings-window. |
static Version |
getVersion()
|
void |
loadSettings(Properties settings)
Load the settings for this plugin and create default values if nothing was set |
boolean |
receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Receives a list of programs from another plugin with a target. |
void |
sendToKNotify(Properties settings,
Program program)
|
Properties |
storeSettings()
Called by the host-application during shut-down. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
boolean mInitialized
| Constructor Detail |
|---|
public KNotifyPlugin()
| Method Detail |
|---|
public PluginInfo getInfo()
PluginOverride this method to provide information about your plugin.
getInfo in class Pluginpublic boolean canReceiveProgramsWithTarget()
Plugin
canReceiveProgramsWithTarget in interface ProgramReceiveIfcanReceiveProgramsWithTarget in class PluginPlugin.receivePrograms(Program[],ProgramReceiveTarget)public static Version getVersion()
public Icon[] getMarkIconsForProgram(Program p)
Plugin
getMarkIconsForProgram in class Pluginp - The Program to get the icons for.
public boolean receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Plugin
receivePrograms in interface ProgramReceiveIfreceivePrograms in class PluginprogramArr - The programs passed from the other plugin.receiveTarget - The receive target of the programs.
Plugin.canReceiveProgramsWithTarget()
public void sendToKNotify(Properties settings,
Program program)
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.public void loadSettings(Properties settings)
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.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||