TV-Browser 2.7.5 API

listviewplugin
Class ListViewPlugin

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

public class ListViewPlugin
extends Plugin

This Plugin shows a List of current running Programs

Author:
bodo

Field Summary
protected static int PROGRAMTABLEWIDTH
           
 
Fields inherited from class devplugin.Plugin
BIG_ICON, DISABLED_ON_TASK_MENU, parent, SINGLE_CLICK_WAITING_TIME
 
Constructor Summary
ListViewPlugin()
          Creates the Plugin
 
Method Summary
 ActionMenu getButtonAction()
          Gets the action to use for the main menu and the toolbar.
 PluginInfo getInfo()
          Returns Informations about this Plugin
static ListViewPlugin getInstance()
           
protected  PluginPictureSettings getPictureSettings()
           
 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 loadSettings(Properties settings)
          Load the Settings
 int parseNumber(String str)
          Parses a Number from a String.
 void showDialog()
          Creates the Dialog
 Properties storeSettings()
          Store the Settings
 
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, 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
 

Field Detail

PROGRAMTABLEWIDTH

protected static final int PROGRAMTABLEWIDTH
See Also:
Constant Field Values
Constructor Detail

ListViewPlugin

public ListViewPlugin()
Creates the Plugin

Method Detail

getInstance

public static ListViewPlugin getInstance()
Returns:
The instance of this class.

getVersion

public static Version getVersion()

getInfo

public PluginInfo getInfo()
Returns Informations about this Plugin

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

showDialog

public void showDialog()
Creates the Dialog


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.

loadSettings

public void loadSettings(Properties settings)
Load the Settings

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

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

storeSettings

public Properties storeSettings()
Store the Settings

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

parseNumber

public int parseNumber(String str)
Parses a Number from a String.

Parameters:
str - Number in String to Parse
Returns:
Number if successfull. Default is 0

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.

getPictureSettings

protected PluginPictureSettings getPictureSettings()
Returns:
The settings for the program panels of the list.
Since:
2.6

TV-Browser 2.7.5 API

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