public abstract class AbstractInternalPluginProxy extends java.lang.Object implements InternalPluginProxyIf, ProgramReceiveIf
InternalPluginProxyIf.Comparator
KEYBOARD_ACCELERATOR
Constructor and Description |
---|
AbstractInternalPluginProxy() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReceiveProgramsWithTarget()
Gets whether the ProgramReceiveIf supports receiving programs from other plugins with a special target.
|
int |
compareTo(ProgramReceiveIf other) |
ProgramReceiveTarget[] |
getProgramReceiveTargets()
Returns an array of receive targets or
null if there is no
target |
boolean |
receivePrograms(Program[] programArr,
ProgramReceiveTarget receiveTarget)
Receives a list of programs from another plugin with a target.
|
boolean |
receiveValues(java.lang.String[] values,
ProgramReceiveTarget receiveTarget)
Receives a list of Strings from another plugin with a target.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAfterDataUpdateInfoPanel, getButtonActionDescription, getIcon, getId, getName, getPluginCategory, getPluginCenterPanelWrapper, getSettingsId, getSettingsTab, handleTvBrowserStartFinished, handleTvDataUpdateFinished
getId
public int compareTo(ProgramReceiveIf other)
compareTo
in interface java.lang.Comparable<ProgramReceiveIf>
public boolean canReceiveProgramsWithTarget()
ProgramReceiveIf
canReceiveProgramsWithTarget
in interface ProgramReceiveIf
ProgramReceiveIf.receivePrograms(Program[],ProgramReceiveTarget)
public ProgramReceiveTarget[] getProgramReceiveTargets()
ProgramReceiveIf
null
if there is no
targetgetProgramReceiveTargets
in interface ProgramReceiveIf
ProgramReceiveIf.canReceiveProgramsWithTarget()
,
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.true
, if the programs were correctly received and the
target really exists.ProgramReceiveIf.canReceiveProgramsWithTarget()
public boolean receiveValues(java.lang.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 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)