|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.core.tvdataservice.AbstractTvDataServiceProxy tvbrowser.core.tvdataservice.DefaultTvDataServiceProxy
public class DefaultTvDataServiceProxy
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface tvbrowser.core.tvdataservice.TvDataServiceProxy |
---|
TvDataServiceProxy.Comparator |
Field Summary |
---|
Fields inherited from interface devplugin.ContextMenuIf |
---|
ACTIONKEY_KEYBOARD_EVENT |
Constructor Summary | |
---|---|
DefaultTvDataServiceProxy(AbstractTvDataService service)
|
Method Summary | |
---|---|
Channel[] |
checkForAvailableChannels(ChannelGroup group,
ProgressMonitor monitor)
|
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(ChannelGroup group)
|
ChannelGroup[] |
getAvailableGroups()
|
ActionMenu |
getButtonAction()
Gets the action menu with the action supported for toolbar actions. |
java.lang.String |
getButtonActionDescription()
Gets the description for this ButtonActionIf. |
ActionMenu |
getContextMenuActions(Program program)
Gets the actions for the context menu of a program. |
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. |
java.lang.String |
getPluginCategory()
|
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. |
Methods inherited from class tvbrowser.core.tvdataservice.AbstractTvDataServiceProxy |
---|
checkForAvailableChannels, equals, getAvailableChannels, getChannelsForTvBrowserStart, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTvDataServiceProxy(AbstractTvDataService service)
Method Detail |
---|
public void setWorkingDirectory(java.io.File dataDir)
TvDataServiceProxy
public ChannelGroup[] getAvailableGroups()
public void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
TvDataServiceProxy
TvBrowserException
public void loadSettings(java.util.Properties settings)
TvDataServiceProxy
public java.util.Properties storeSettings()
TvDataServiceProxy
public boolean hasSettingsPanel()
TvDataServiceProxy
public SettingsPanel getSettingsPanel()
public Channel[] getAvailableChannels(ChannelGroup group)
public Channel[] checkForAvailableChannels(ChannelGroup group, ProgressMonitor monitor) throws TvBrowserException
checkForAvailableChannels
in interface TvDataServiceProxy
checkForAvailableChannels
in class AbstractTvDataServiceProxy
TvBrowserException
public ChannelGroup[] checkForAvailableGroups(ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public boolean supportsDynamicChannelList()
public boolean supportsDynamicChannelGroups()
public PluginInfo getInfo()
TvDataServiceProxy
public java.lang.String getId()
ContextMenuIf
public final void setParent(java.awt.Frame parent)
parent
- The parent frame.public final java.awt.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 java.lang.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.public java.lang.String getDataServicePackageName()
public java.lang.String getPluginCategory()
public SettingsPanel getAuthenticationPanel()
TvDataServiceProxy
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |