TV-Browser 2.7.5 API

wirschauenplugin
Class WirSchauenPlugin

java.lang.Object
  extended by devplugin.Plugin
      extended by wirschauenplugin.WirSchauenPlugin
All Implemented Interfaces:
ContextMenuIf, Marker, ProgramReceiveIf

public class WirSchauenPlugin
extends Plugin

With this plugin it is possible to add information about a program and send it to wirschauen.de


Field Summary
static String BASE_URL
           
 
Fields inherited from class devplugin.Plugin
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME
 
Constructor Summary
WirSchauenPlugin()
          Creates the Plugin
 
Method Summary
 boolean canUseProgramTree()
          Signal whether this plugin participates in the plugin tree view or not.
 ActionMenu getContextMenuActions(Program program)
          Creates the Context-Menu-Entries
 PluginInfo getInfo()
          Returns the Plugin-Info
static WirSchauenPlugin getInstance()
          Returns the Instance of the Plugin
 ThemeIcon getMarkIconFromTheme()
          This gets the ThemeIcon containg your mark icon.
static Version getVersion()
           
 void writeData(ObjectOutputStream out)
          Counterpart to loadData.
 
Methods inherited from class devplugin.Plugin
canReceivePrograms, canReceiveProgramsWithTarget, createImageIcon, createImageIcon, createImageIcon, createImageIconForFileName, execute, execute, execute, getAvailableFilter, getAvailableFilterComponentClasses, getButtonAction, getButtonIconName, getButtonText, getContextMenuItemText, getId, getJarFile, getMarkIcon, getMarkIconName, getMarkIcons, getMarkIconsForProgram, getMarkPriorityForProgram, getParentFrame, getPluginManager, getProgramFromContextMenuActionEvent, getProgramReceiveTargets, getProgramTableIcons, getProgramTableIconText, getRatingInterfaces, getRootNode, getSettingsTab, handleTvBrowserStartFinished, handleTvDataAdded, handleTvDataAdded, handleTvDataChanged, handleTvDataChanged, handleTvDataDeleted, handleTvDataTouched, handleTvDataUpdateFinished, isAllowedToDeleteProgramFilter, layoutWindow, layoutWindow, loadSettings, onActivation, onDeactivation, readData, receivePrograms, receivePrograms, receiveValues, saveMe, setJarFile, setParent, setPluginManager, storeRootNode, storeSettings, supportMultipleProgramExecution, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BASE_URL

public static final String BASE_URL
See Also:
Constant Field Values
Constructor Detail

WirSchauenPlugin

public WirSchauenPlugin()
Creates the Plugin

Method Detail

getInstance

public static WirSchauenPlugin getInstance()
Returns the Instance of the Plugin

Returns:
Plugin-Instance

getVersion

public static Version getVersion()

getInfo

public PluginInfo getInfo()
Returns the Plugin-Info

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

getContextMenuActions

public ActionMenu getContextMenuActions(Program program)
Creates the Context-Menu-Entries

Specified by:
getContextMenuActions in interface ContextMenuIf
Overrides:
getContextMenuActions in class Plugin
Parameters:
program - The program the context menu will be shown for.
Returns:
the actions this plugin provides for the given program or null if the plugin does not provide this feature.
See Also:
Plugin.getProgramFromContextMenuActionEvent(ActionEvent)

getMarkIconFromTheme

public ThemeIcon getMarkIconFromTheme()
Description copied from class: Plugin
This gets the ThemeIcon containg your mark icon. This Function uses the Icon-Theme-Function of the TV-Browser. For details see PluginManager.getIconFromTheme(Plugin, String, String, int)

Overrides:
getMarkIconFromTheme in class Plugin
Returns:
ThemeIcon that identifies the Icon in the Theme

canUseProgramTree

public boolean canUseProgramTree()
Description copied from class: Plugin
Signal whether this plugin participates in the plugin tree view or not.

Overrides:
canUseProgramTree in class Plugin
Returns:
true, if the programs of this plugin are handled by the plugin tree view
See Also:
Plugin.getRootNode()

writeData

public void writeData(ObjectOutputStream out)
               throws IOException
Description copied from class: Plugin
Counterpart to loadData. Called when the application shuts down.

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

Overrides:
writeData in class Plugin
Parameters:
out - The stream to write the objects to
Throws:
IOException - If writing failed.
See Also:
Plugin.readData(ObjectInputStream)

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)