|
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 devplugin.Plugin androidsync.AndroidSync
public class AndroidSync
Field Summary |
---|
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AndroidSync()
Method Detail |
---|
public static Version getVersion()
public void handleTvBrowserStartFinished()
Plugin
handleTvBrowserStartFinished
in class Plugin
public PluginInfo getInfo()
Plugin
Override this method to provide information about your plugin.
getInfo
in class Plugin
public ActionMenu getButtonAction()
Plugin
Override this method to provide a menu item in the main menu and a toolbar button.
The following action values will be used:
Action.NAME
: The text for the main menu item and the
toolbar button.Action.SHORT_DESCRIPTION
: The description for the button
action. Used as tooltip and for the status bar.Action.SMALL_ICON
: The icon for the main menu item. Should
be 16x16.BIG_ICON
: The icon for the toolbar button. Should be
24x24.
getButtonAction
in class Plugin
null
if the plugin does not provide this feature.public void handleTvDataUpdateFinished()
Plugin
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.
handleTvDataUpdateFinished
in class Plugin
Plugin.handleTvBrowserStartFinished()
,
Plugin.handleTvDataAdded(ChannelDayProgram)
,
Plugin.handleTvDataDeleted(ChannelDayProgram)
,
Plugin.handleTvDataTouched(ChannelDayProgram, ChannelDayProgram)
public SettingsTab getSettingsTab()
Plugin
Override this method to provide a settings tab. The settings tab will be shown in the settings dialog in the plugin section.
getSettingsTab
in class Plugin
null
if the plugin does not
provide this feature.public void loadSettings(java.util.Properties settings)
Plugin
Override this method to load your plugins settings from the file system.
loadSettings
in class Plugin
settings
- The settings for this plugin (May be empty).public java.util.Properties storeSettings()
Plugin
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.
storeSettings
in class Plugin
null
if this plugin
does not need to save any settings.public void upload(java.lang.String address, boolean info)
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |