public interface TvDataServiceProxy extends ContextMenuIf, ButtonActionIf, InfoIf
Modifier and Type | Interface and Description |
---|---|
static class |
TvDataServiceProxy.Comparator
comparator for data service proxies (sorting alphabetically by name)
|
ACTIONKEY_KEYBOARD_EVENT
Modifier and Type | Method and Description |
---|---|
Channel[] |
checkForAvailableChannels(ChannelGroup group,
ProgressMonitor monitor) |
Channel[] |
checkForAvailableChannels(ProgressMonitor monitor)
Some TvDataServices may need to connect to the Internet to know their
channels.
|
ChannelGroup[] |
checkForAvailableGroups(ProgressMonitor monitor) |
SettingsPanel |
getAuthenticationPanel()
If the download of the TV data needs authentication create
a panel that contains information about the authentification
and the authentication form.
|
Channel[] |
getAvailableChannels()
Gets the list of the channels that are available for the given channel group.
|
Channel[] |
getAvailableChannels(ChannelGroup group) |
ChannelGroup[] |
getAvailableGroups() |
Channel[] |
getChannelsForTvBrowserStart() |
java.lang.String |
getDataServicePackageName() |
java.lang.String |
getId()
Gets the ID of this ContextMenuIf.
|
PluginInfo |
getInfo()
Gets information about this TvDataService
|
java.awt.Frame |
getParentFrame()
Gets the parent frame.
|
SettingsPanel |
getSettingsPanel() |
void |
handleTvBrowserStartFinished()
This method is called when the TV-Browser start is complete.
|
boolean |
hasSettingsPanel()
A TvDataService can have a settings panel within the settings dialog.
|
void |
loadSettings(java.util.Properties settings)
Called by the host-application during start-up.
|
void |
setParent(java.awt.Frame parent)
Called by the host-application to provide the parent frame.
|
void |
setWorkingDirectory(java.io.File dataDir)
This method is called by the host application to set the working folder.
|
java.util.Properties |
storeSettings()
Called by the host-application during shut-down.
|
boolean |
supportsAutoUpdate()
Gets if the data service supports auto upate of data.
|
boolean |
supportsDynamicChannelGroups() |
boolean |
supportsDynamicChannelList() |
void |
updateTvData(TvDataUpdateManager updateManager,
Channel[] channelArr,
Date startDate,
int dateCount,
ProgressMonitor monitor)
Updates the TV listings provided by this data service.
|
getContextMenuActions
getButtonAction, getButtonActionDescription
getPluginCategory
void setWorkingDirectory(java.io.File dataDir)
dataDir
- ChannelGroup[] getAvailableGroups()
void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
void loadSettings(java.util.Properties settings)
java.util.Properties storeSettings()
boolean hasSettingsPanel()
SettingsPanel getSettingsPanel()
Channel[] getAvailableChannels()
Channel[] checkForAvailableChannels(ProgressMonitor monitor) throws TvBrowserException
supportsDynamicChannelList()
returns true, this method is
called to check for available channels.monitor
- TvBrowserException
ChannelGroup[] checkForAvailableGroups(ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
Channel[] checkForAvailableChannels(ChannelGroup group, ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
Channel[] getAvailableChannels(ChannelGroup group)
Channel[] getChannelsForTvBrowserStart()
boolean supportsDynamicChannelList()
boolean supportsDynamicChannelGroups()
PluginInfo getInfo()
java.lang.String getId()
ContextMenuIf
getId
in interface ButtonActionIf
getId
in interface ContextMenuIf
getId
in interface InfoIf
void setParent(java.awt.Frame parent)
parent
- The parent frame.java.awt.Frame getParentFrame()
The parent frame may be used for showing dialogs.
void handleTvBrowserStartFinished()
boolean supportsAutoUpdate()
True
if the data service supports the auto update,
false
otherwise.java.lang.String getDataServicePackageName()
SettingsPanel getAuthenticationPanel()
TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)