TV-Browser 2.7.5 API

timelistplugin
Class TimeListPlugin

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

public class TimeListPlugin
extends Plugin

Author:
bananeweizen

Field Summary
 
Fields inherited from class devplugin.Plugin
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME
 
Constructor Summary
TimeListPlugin()
           
 
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.
static TimeListPlugin getInstance()
           
 SettingsTab getSettingsTab()
          Gets the SettingsTab object, which is added to the settings-window.
static Version getVersion()
           
protected  boolean isShowDescriptions()
          get option value: show program descriptions
protected  boolean isShowExpired()
          get option value: show expired programs
 void loadSettings(Properties settings)
          Called by the host-application during start-up.
 void saveSettings(boolean showDescription, boolean showExpired)
           
 Properties storeSettings()
          Called by the host-application during shut-down.
 
Methods inherited from class devplugin.Plugin
canReceivePrograms, canReceiveProgramsWithTarget, canUseProgramTree, createImageIcon, createImageIcon, createImageIcon, createImageIconForFileName, execute, execute, execute, getAvailableFilter, getAvailableFilterComponentClasses, getButtonIconName, getButtonText, getContextMenuActions, getContextMenuItemText, getId, getJarFile, getMarkIcon, getMarkIconFromTheme, getMarkIconName, getMarkIcons, getMarkIconsForProgram, getMarkPriorityForProgram, getParentFrame, getPluginManager, getProgramFromContextMenuActionEvent, getProgramReceiveTargets, getProgramTableIcons, getProgramTableIconText, getRatingInterfaces, getRootNode, handleTvBrowserStartFinished, handleTvDataAdded, handleTvDataAdded, handleTvDataChanged, handleTvDataChanged, handleTvDataDeleted, handleTvDataTouched, handleTvDataUpdateFinished, isAllowedToDeleteProgramFilter, layoutWindow, layoutWindow, onActivation, onDeactivation, readData, receivePrograms, receivePrograms, receiveValues, saveMe, setJarFile, setParent, setPluginManager, storeRootNode, supportMultipleProgramExecution, toString, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeListPlugin

public TimeListPlugin()
Method Detail

getVersion

public static Version getVersion()

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.

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.

isShowDescriptions

protected boolean isShowDescriptions()
get option value: show program descriptions


loadSettings

public void loadSettings(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 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.

saveSettings

public void saveSettings(boolean showDescription,
                         boolean showExpired)

getInstance

public static TimeListPlugin getInstance()

isShowExpired

protected boolean isShowExpired()
get option value: show expired programs


TV-Browser 2.7.5 API

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