|
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
growlplugin.GrowlPlugin
public class GrowlPlugin
This is the Growl-Plugin It sends Growl-Notifications for each Program it receives. For more Details look at http://growl.info
| Field Summary |
|---|
| Fields inherited from class devplugin.Plugin |
|---|
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME |
| Constructor Summary | |
|---|---|
GrowlPlugin()
Checks the OS and inititializes the System accordingly. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GrowlPlugin()
| Method Detail |
|---|
public PluginInfo getInfo()
PluginOverride this method to provide information about your plugin.
getInfo in class Pluginpublic static Version getVersion()
public boolean canReceiveProgramsWithTarget()
Plugin
canReceiveProgramsWithTarget in interface ProgramReceiveIfcanReceiveProgramsWithTarget in class PluginPlugin.receivePrograms(Program[],ProgramReceiveTarget)
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 ProgramReceiveTarget[] getProgramReceiveTargets()
Pluginnull if there is no target
getProgramReceiveTargets in interface ProgramReceiveIfgetProgramReceiveTargets in class PluginPlugin.canReceiveProgramsWithTarget(),
Plugin.receivePrograms(Program[],ProgramReceiveTarget)public SettingsTab getSettingsTab()
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 GrowlContainer getContainer()
public Properties storeSettings()
storeSettings in class Pluginnull if this plugin
does not need to save any settings.public Icon[] getMarkIconsForProgram(Program p)
getMarkIconsForProgram in class Pluginp - get Icon for this Program
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||