TV-Browser 3.3.3 API

androidsync
Class AndroidSync

java.lang.Object
  extended by devplugin.Plugin
      extended by androidsync.AndroidSync
All Implemented Interfaces:
ContextMenuIf, Marker, ProgramReceiveIf, java.lang.Comparable<ProgramReceiveIf>

public class AndroidSync
extends Plugin


Field Summary
 
Fields inherited from class devplugin.Plugin
ACTION_ID_KEY, ADDITONAL_DATA_SERVICE_HARDWARE_CATEGORY, ADDITONAL_DATA_SERVICE_SOFTWARE_CATEGORY, ALL_CATEGORY, BIG_ICON, DISABLED_ON_TASK_MENU, NO_ICON_RESIZE, OTHER_CATEGORY, RATINGS_CATEGORY, REMOTE_CONTROL_HARDWARE_CATEGORY, REMOTE_CONTROL_SOFTWARE_CATEGORY, SINGLE_CLICK_WAITING_TIME
 
Fields inherited from interface devplugin.ContextMenuIf
ACTIONKEY_KEYBOARD_EVENT
 
Constructor Summary
AndroidSync()
           
 
Method Summary
 ActionMenu getButtonAction()
          Gets the action to use for the main menu and the toolbar.
 PluginInfo getInfo()
          Gets the meta information about the plugin.
 SettingsTab getSettingsTab()
          Gets the SettingsTab object, which is added to the settings-window.
static Version getVersion()
           
 void handleTvBrowserStartFinished()
          This method is called when the TV-Browser start is finished.
 void handleTvDataUpdateFinished()
          This method is automatically called, when the TV data update is finished.
 void loadSettings(java.util.Properties settings)
          Called by the host-application during start-up.
 java.util.Properties storeSettings()
          Called by the host-application during shut-down.
 void upload(java.lang.String address, boolean info)
           
 
Methods inherited from class devplugin.Plugin
canReceiveProgramsWithTarget, canUseProgramTree, compareTo, createImageIcon, createImageIcon, createImageIcon, createImageIcon, createImageIconForFileName, getAfterDataUpdateInfoPanel, getAvailableFilter, getAvailableFilterComponentClasses, getContextMenuActions, getContextMenuActions, getId, getImportanceValueForProgram, getMarkIcon, getMarkIconFromTheme, getMarkIconName, getMarkIcons, getMarkIconsForProgram, getMarkPriorityForProgram, getParentFrame, getPluginCategory, getPluginCenterPanelWrapper, getPluginManager, getProgramFromContextMenuActionEvent, getProgramReceiveTargets, getProgramTableIcons, getProgramTableIconText, getRatingInterfaces, getRootNode, handleTvBrowserSettingsChanged, handleTvDataAdded, handleTvDataAdded, handleTvDataDeleted, handleTvDataTouched, handleTvDataUpdateStarted, handleTvDataUpdateStarted, isAllowedToDeleteProgramFilter, layoutWindow, layoutWindow, loadRootNode, onActivation, onDeactivation, readData, receivePrograms, receiveValues, saveMe, setParent, setPluginManager, storeRootNode, storeRootNode, toString, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndroidSync

public AndroidSync()
Method Detail

getVersion

public static Version getVersion()

handleTvBrowserStartFinished

public void handleTvBrowserStartFinished()
Description copied from class: Plugin
This method is called when the TV-Browser start is finished.

Overrides:
handleTvBrowserStartFinished in class Plugin

getInfo

public PluginInfo getInfo()
Description copied from class: Plugin
Gets the meta information about the plugin.

Override this method to provide information about your plugin.

Overrides:
getInfo in class Plugin
Returns:
The meta information about the plugin.

getButtonAction

public ActionMenu getButtonAction()
Description copied from class: Plugin
Gets the action to use for the main menu and the toolbar.

Override this method to provide a menu item in the main menu and a toolbar button.

The following action values will be used:

Overrides:
getButtonAction in class Plugin
Returns:
the action to use for the menu and the toolbar or null if the plugin does not provide this feature.

handleTvDataUpdateFinished

public void handleTvDataUpdateFinished()
Description copied from class: Plugin
This method is automatically called, when the TV data update is finished.

Override this method to react on this event. If you want to read data from the Internet use this method to track if a connection was established. ATTENTION: If you do so take care of the TV-Browser start, at the start this method mustn't use an Internet connection. Use the method handleTvBrowserStartFinished() to track if the TV-Browser start was finished before allowing access to the Internet in this method.

Overrides:
handleTvDataUpdateFinished in class Plugin
See Also:
Plugin.handleTvBrowserStartFinished(), Plugin.handleTvDataAdded(ChannelDayProgram), Plugin.handleTvDataDeleted(ChannelDayProgram), Plugin.handleTvDataTouched(ChannelDayProgram, ChannelDayProgram)

getSettingsTab

public SettingsTab getSettingsTab()
Description copied from class: Plugin
Gets the SettingsTab object, which is added to the settings-window.

Override this method to provide a settings tab. The settings tab will be shown in the settings dialog in the plugin section.

Overrides:
getSettingsTab in class Plugin
Returns:
the SettingsTab object or null if the plugin does not provide this feature.

loadSettings

public void loadSettings(java.util.Properties settings)
Description copied from class: Plugin
Called by the host-application during start-up.

Override this method to load your plugins settings from the file system.

Overrides:
loadSettings in class Plugin
Parameters:
settings - The settings for this plugin (May be empty).

storeSettings

public java.util.Properties storeSettings()
Description copied from class: Plugin
Called by the host-application during shut-down.

Override this method to store your plugins settings to the file system. ATTENTION: Don't use any logger, thread or access to Frames in this method.

Overrides:
storeSettings in class Plugin
Returns:
The settings for this plugin or null if this plugin does not need to save any settings.

upload

public void upload(java.lang.String address,
                   boolean info)

TV-Browser 3.3.3 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)