public class GrowlPlugin extends Plugin
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME
Constructor and Description |
---|
GrowlPlugin()
Checks the OS and inititializes the System accordingly.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target.
|
GrowlContainer |
getContainer()
Return the GrowlContainer that is currently used
|
PluginInfo |
getInfo()
Gets the meta information about the plugin.
|
Icon[] |
getMarkIconsForProgram(Program p)
Get mark icons for Plugin
|
ProgramReceiveTarget[] |
getProgramReceiveTargets()
Returns an array of receive target or
null if there is no target |
SettingsTab |
getSettingsTab()
Create the Settings-Tab
|
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.
|
Properties |
storeSettings()
Store the Settings
|
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, 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 GrowlPlugin()
public PluginInfo getInfo()
Plugin
Override this method to provide information about your plugin.
public static Version getVersion()
public boolean canReceiveProgramsWithTarget()
Plugin
canReceiveProgramsWithTarget
in interface ProgramReceiveIf
canReceiveProgramsWithTarget
in class Plugin
Plugin.receivePrograms(Program[],ProgramReceiveTarget)
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 ProgramReceiveTarget[] getProgramReceiveTargets()
Plugin
null
if there is no targetgetProgramReceiveTargets
in interface ProgramReceiveIf
getProgramReceiveTargets
in class Plugin
Plugin.canReceiveProgramsWithTarget()
,
Plugin.receivePrograms(Program[],ProgramReceiveTarget)
public SettingsTab getSettingsTab()
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 GrowlContainer getContainer()
public Properties storeSettings()
storeSettings
in class Plugin
null
if this plugin
does not need to save any settings.public Icon[] getMarkIconsForProgram(Program p)
getMarkIconsForProgram
in class Plugin
p
- get Icon for this ProgramTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)