public class KNotifyPlugin extends Plugin
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
mInitialized |
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME
Constructor and Description |
---|
KNotifyPlugin() |
Modifier and Type | Method and Description |
---|---|
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.
|
canReceivePrograms, canUseProgramTree, createImageIcon, createImageIcon, createImageIcon, createImageIconForFileName, execute, execute, execute, getAvailableFilter, getAvailableFilterComponentClasses, getButtonAction, getButtonIconName, getButtonText, getContextMenuActions, getContextMenuItemText, getId, getJarFile, getMarkIcon, getMarkIconFromTheme, getMarkIconName, getMarkIcons, getMarkPriorityForProgram, getParentFrame, getPluginManager, getProgramFromContextMenuActionEvent, getProgramReceiveTargets, getProgramTableIcons, getProgramTableIconText, getRatingInterfaces, getRootNode, handleTvBrowserStartFinished, handleTvDataAdded, handleTvDataAdded, handleTvDataChanged, handleTvDataChanged, handleTvDataDeleted, handleTvDataTouched, handleTvDataUpdateFinished, isAllowedToDeleteProgramFilter, layoutWindow, layoutWindow, onActivation, onDeactivation, readData, receivePrograms, receiveValues, saveMe, setJarFile, setParent, setPluginManager, storeRootNode, supportMultipleProgramExecution, toString, writeData
public PluginInfo getInfo()
Plugin
Override this method to provide information about your plugin.
public boolean canReceiveProgramsWithTarget()
Plugin
canReceiveProgramsWithTarget
in interface ProgramReceiveIf
canReceiveProgramsWithTarget
in class Plugin
Plugin.receivePrograms(Program[],ProgramReceiveTarget)
public static Version getVersion()
public Icon[] getMarkIconsForProgram(Program p)
Plugin
getMarkIconsForProgram
in class Plugin
p
- The Program to get the icons for.public boolean receivePrograms(Program[] programArr, ProgramReceiveTarget receiveTarget)
Plugin
receivePrograms
in interface ProgramReceiveIf
receivePrograms
in class Plugin
programArr
- 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()
Plugin
Override this method to provide a settings tab. The settings tab will be shown in the settings dialog in the plugin section.
getSettingsTab
in class Plugin
null
if the plugin does not
provide this feature.public void loadSettings(Properties settings)
loadSettings
in class Plugin
settings
- The settings for this plugin (May be empty).public Properties storeSettings()
Plugin
Override 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 Plugin
null
if this plugin
does not need to save any settings.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)