|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginAccess
An access to another plugin.
Contains all operations that may be called on a plugin from another plugin.
Field Summary |
---|
Fields inherited from interface devplugin.ContextMenuIf |
---|
ACTIONKEY_KEYBOARD_EVENT |
Method Summary | |
---|---|
PluginsProgramFilter[] |
getAvailableFilter()
Returns the available program filters that the plugin supports. |
java.lang.Class<? extends PluginsFilterComponent>[] |
getAvailableFilterComponentClasses()
Returns the available plugins filter component classes. |
java.lang.String |
getId()
Gets the ID of this plugin. |
PluginInfo |
getInfo()
Gets the meta information about the plugin. |
javax.swing.Icon |
getMarkIcon()
Gets the icon to use for marking programs in the program table. |
javax.swing.Icon[] |
getMarkIcons(Program p)
Gets the icons to use for marking programs in the program table. |
ProgramRatingIf[] |
getProgramRatingIfs()
If this plugin can rate programs, this interface makes it possible to offer this ratings to other plugins. |
javax.swing.Icon[] |
getProgramTableIcons(Program program)
Gets the icons this Plugin provides for the given program. |
java.lang.String |
getProgramTableIconText()
Gets the description text for the program table icons provided by this Plugin. |
Methods inherited from interface tvbrowser.core.plugin.ButtonActionIf |
---|
getButtonAction, getButtonActionDescription |
Methods inherited from interface devplugin.Marker |
---|
getMarkPriorityForProgram |
Methods inherited from interface devplugin.ProgramReceiveIf |
---|
canReceiveProgramsWithTarget, getProgramReceiveTargets, receivePrograms, receiveValues |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface devplugin.ContextMenuIf |
---|
getContextMenuActions |
Method Detail |
---|
java.lang.String getId()
getId
in interface ButtonActionIf
getId
in interface ContextMenuIf
getId
in interface Marker
getId
in interface ProgramReceiveIf
PluginInfo getInfo()
java.lang.String getProgramTableIconText()
Return null
if your plugin does not provide this feature.
null
if the plugin does not provide this feature.getProgramTableIcons(Program)
javax.swing.Icon[] getProgramTableIcons(Program program)
Return null
if your plugin does not provide this feature.
program
- The programs to get the icons for.
null
.getProgramTableIconText()
javax.swing.Icon getMarkIcon()
getMarkIcon
in interface Marker
javax.swing.Icon[] getMarkIcons(Program p)
getMarkIcons
in interface Marker
PluginsProgramFilter[] getAvailableFilter()
null
if it supports no filter.java.lang.Class<? extends PluginsFilterComponent>[] getAvailableFilterComponentClasses()
(Class extends PluginsFilterComponent>[]) new Class[] {MyFilterComponent1.class,MyFilterComponent2.class};
because the creation of a class array with generic type didn't work.
null
if no plugins filter components are supported.ProgramRatingIf[] getProgramRatingIfs()
PluginManager.getAllProgramRatingIfs()
The plugin can return more than one ratingif, e.g. average ratings, user rating ...
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |