public class DeprecatedTvDataServiceProxy extends AbstractTvDataServiceProxy
TvDataServiceProxy.Comparator
Constructor and Description |
---|
DeprecatedTvDataServiceProxy(TvDataService dataService) |
Modifier and Type | Method and Description |
---|---|
Channel[] |
checkForAvailableChannels(ChannelGroup group,
ProgressMonitor monitor) |
ChannelGroup[] |
checkForAvailableGroups(ProgressMonitor monitor)
method not supported
|
Channel[] |
getAvailableChannels(ChannelGroup group)
Gets the list of the channels that are available by this data service.
|
ChannelGroup[] |
getAvailableGroups() |
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 ContextMenuIf.
|
PluginInfo |
getInfo()
Gets information about this TvDataService
|
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(Properties settings)
Called by the host-application during start-up.
|
void |
setParent(Frame parent)
Called by the host-application to provide the parent frame.
|
void |
setWorkingDirectory(File dataDir)
This method is called by the host application to set the working folder.
|
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.
|
checkForAvailableChannels, equals, getAvailableChannels, getChannelsForTvBrowserStart, hashCode
public DeprecatedTvDataServiceProxy(TvDataService dataService)
public void setWorkingDirectory(File dataDir)
TvDataServiceProxy
public ChannelGroup[] getAvailableGroups()
public void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public void loadSettings(Properties settings)
public Properties storeSettings()
public boolean hasSettingsPanel()
TvDataServiceProxy
public SettingsPanel getSettingsPanel()
public Channel[] getAvailableChannels(ChannelGroup group)
public ChannelGroup[] checkForAvailableGroups(ProgressMonitor monitor) throws TvBrowserException
monitor
- TvBrowserException
public Channel[] checkForAvailableChannels(ChannelGroup group, ProgressMonitor monitor) throws TvBrowserException
checkForAvailableChannels
in interface TvDataServiceProxy
checkForAvailableChannels
in class AbstractTvDataServiceProxy
TvBrowserException
public boolean supportsDynamicChannelList()
public boolean supportsDynamicChannelGroups()
public PluginInfo getInfo()
public String getId()
ContextMenuIf
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()
True
if the data service supports the auto update,
false
otherwise.public ActionMenu getButtonAction()
public String getButtonActionDescription()
public ActionMenu getContextMenuActions(Program program)
program
- The program the context menu will be shown for.null
if the plugin does not provide this feature.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)