public class ReminderPluginProxy extends Object implements ButtonActionIf, ContextMenuIf, ProgramReceiveIf, Marker, InternalPluginProxyIf
InternalPluginProxyIf.Comparator
KEYBOARD_ACCELERATOR
Modifier and Type | Method and Description |
---|---|
boolean |
canReceivePrograms()
Deprecated.
Since 2.5
|
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target.
|
ActionMenu |
getButtonAction()
Gets the action menu with the action supported for toolbar actions.
|
String |
getButtonActionDescription()
Gets the description for this ButtonActionIf.
|
ActionMenu |
getContextMenuActions(Program program)
Gets the actions for the context menu of a program.
|
Icon |
getIcon()
Gets the icon of this internal plugin.
|
String |
getId()
Gets the id of this ButtonActionIf.
|
static ReminderPluginProxy |
getInstance() |
Icon |
getMarkIcon() |
Icon[] |
getMarkIcons(Program p) |
int |
getMarkPriorityForProgram(Program p) |
String |
getName()
Gets the name of this internal plugin.
|
ProgramReceiveTarget[] |
getProgramReceiveTargets()
Returns an array of receive target or
null if there is no target |
String |
getSettingsId()
Gets the settings id of this internal plugin.
|
SettingsTab |
getSettingsTab()
Gets the settings tab of this internal plugin.
|
void |
receivePrograms(Program[] programArr)
Deprecated.
Since 2.5
|
boolean |
receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Receives a list of programs from another plugin with a target.
|
boolean |
receiveValues(String[] values,
ProgramReceiveTarget receiveTarget)
Receives a list of Strings from another plugin with a target.
|
String |
toString() |
public static ReminderPluginProxy getInstance()
public ActionMenu getContextMenuActions(Program program)
ContextMenuIf
getContextMenuActions
in interface ContextMenuIf
program
- The program the context menu will be shown for.null
if the plugin does not provide this feature.public String getId()
ButtonActionIf
getId
in interface ContextMenuIf
getId
in interface Marker
getId
in interface ProgramReceiveIf
getId
in interface ButtonActionIf
getId
in interface InternalPluginProxyIf
public boolean canReceiveProgramsWithTarget()
ProgramReceiveIf
canReceiveProgramsWithTarget
in interface ProgramReceiveIf
ProgramReceiveIf.receivePrograms(Program[],ProgramReceiveTarget)
public boolean receivePrograms(Program[] programArr, ProgramReceiveTarget receiveTarget)
ProgramReceiveIf
receivePrograms
in interface ProgramReceiveIf
programArr
- The programs passed from the other plugin.receiveTarget
- The receive target of the programs.ProgramReceiveIf.canReceiveProgramsWithTarget()
public ProgramReceiveTarget[] getProgramReceiveTargets()
ProgramReceiveIf
null
if there is no targetgetProgramReceiveTargets
in interface ProgramReceiveIf
ProgramReceiveIf.canReceiveProgramsWithTarget()
,
ProgramReceiveIf.receivePrograms(Program[],ProgramReceiveTarget)
public boolean canReceivePrograms()
ProgramReceiveIf
canReceivePrograms
in interface ProgramReceiveIf
ProgramReceiveIf.receivePrograms(Program[])
public void receivePrograms(Program[] programArr)
ProgramReceiveIf
receivePrograms
in interface ProgramReceiveIf
programArr
- The programs passed from the other plugin.ProgramReceiveIf.canReceivePrograms()
public Icon getMarkIcon()
getMarkIcon
in interface Marker
public Icon[] getMarkIcons(Program p)
getMarkIcons
in interface Marker
public int getMarkPriorityForProgram(Program p)
getMarkPriorityForProgram
in interface Marker
public String getButtonActionDescription()
ButtonActionIf
getButtonActionDescription
in interface ButtonActionIf
getButtonActionDescription
in interface InternalPluginProxyIf
public Icon getIcon()
InternalPluginProxyIf
getIcon
in interface InternalPluginProxyIf
public String getName()
InternalPluginProxyIf
getName
in interface InternalPluginProxyIf
public SettingsTab getSettingsTab()
InternalPluginProxyIf
getSettingsTab
in interface InternalPluginProxyIf
public String getSettingsId()
InternalPluginProxyIf
getSettingsId
in interface InternalPluginProxyIf
public ActionMenu getButtonAction()
ButtonActionIf
getButtonAction
in interface ButtonActionIf
public boolean receiveValues(String[] values, ProgramReceiveTarget receiveTarget)
ProgramReceiveIf
receiveValues
in interface ProgramReceiveIf
values
- The value array passed from the other plugin.receiveTarget
- The receive target of the programs.True
if the value array was handled correct,
false otherwise.ProgramReceiveIf.canReceiveProgramsWithTarget()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)