|
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.AbstractTvDataService
public abstract class AbstractTvDataService
Superclass for all TvDataServices.
Extend this class to provide your own TvDataService.
| Constructor Summary | |
|---|---|
AbstractTvDataService()
|
|
| Method Summary | |
|---|---|
Channel[] |
checkForAvailableChannels(ProgressMonitor monitor)
|
Version |
getAPIVersion()
Gets the Version of the implemented API Since TV-Browser 0.9.7 getAPIVersion must return 1.0 |
Channel[] |
getAvailableChannels()
Gets the list of the channels that are available by this data service. |
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. |
String |
getId()
Gets the id of this ButtonActionIf. |
Frame |
getParentFrame()
Gets the parent frame. |
static PluginManager |
getPluginManager()
Use this method to call methods of the plugin manager. |
static Version |
getVersion()
Gets the version of this data service. |
void |
handleTvBrowserStartFinished()
This method is called when the TV-Browser start is complete. |
void |
setParent(Frame parent)
Called by the host-application to provide the parent frame. |
static void |
setPluginManager(PluginManager manager)
Called by the host-application to provide access to the plugin manager. |
boolean |
supportsAutoUpdate()
Gets if the data service supports auto upate of data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface devplugin.TvDataService |
|---|
checkForAvailableChannelGroups, checkForAvailableChannels, getAvailableChannels, getAvailableGroups, getInfo, getSettingsPanel, hasSettingsPanel, loadSettings, setWorkingDirectory, storeSettings, supportsDynamicChannelGroups, supportsDynamicChannelList, updateTvData |
| Methods inherited from interface tvdataservice.TvDataService |
|---|
getInfo, getSettingsPanel, hasSettingsPanel, loadSettings, setWorkingDirectory, storeSettings, supportsDynamicChannelList, updateTvData |
| Constructor Detail |
|---|
public AbstractTvDataService()
| Method Detail |
|---|
public final Channel[] getAvailableChannels()
TvDataService
getAvailableChannels in interface TvDataService
public final Channel[] checkForAvailableChannels(ProgressMonitor monitor)
throws TvBrowserException
checkForAvailableChannels in interface TvDataServiceTvBrowserExceptionpublic final Version getAPIVersion()
TvDataService
getAPIVersion in interface TvDataServicepublic static final PluginManager getPluginManager()
The plugin manager is your connection to TV-Browser. Every communication between TV-Browser and the data service is either initiated by TV-Browser or made by using the plugin manager.
public static final void setPluginManager(PluginManager manager)
manager - The plugin manager the plugins should use.public static Version getVersion()
public final void setParent(Frame parent)
parent - The parent frame.public final Frame getParentFrame()
The parent frame may be used for showing dialogs.
public void handleTvBrowserStartFinished()
public boolean supportsAutoUpdate()
supportsAutoUpdate in interface TvDataServiceTrue if the data service supports the auto update,
false otherwise.public ActionMenu getButtonAction()
getButtonAction in interface ButtonActionIfpublic final String getId()
getId in interface ContextMenuIfgetId in interface ButtonActionIfpublic String getButtonActionDescription()
getButtonActionDescription in interface ButtonActionIfpublic ActionMenu getContextMenuActions(Program program)
getContextMenuActions in interface ContextMenuIfprogram - The program the context menu will be shown for.
null if the plugin does not provide this feature.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||