TV-Browser 2.7.5 API

tvbrowser.extras.programinfo
Class ProgramInfoProxy

java.lang.Object
  extended by tvbrowser.extras.programinfo.ProgramInfoProxy
All Implemented Interfaces:
ContextMenuIf, InternalPluginProxyIf

public class ProgramInfoProxy
extends Object
implements ContextMenuIf, InternalPluginProxyIf

Encapsulates the ProgramInfo and manages the access to it.

Author:
René Mach

Nested Class Summary
 
Nested classes/interfaces inherited from interface tvbrowser.extras.common.InternalPluginProxyIf
InternalPluginProxyIf.Comparator
 
Field Summary
 
Fields inherited from interface tvbrowser.extras.common.InternalPluginProxyIf
KEYBOARD_ACCELERATOR
 
Method Summary
 String getButtonActionDescription()
          Gets the description of this internal plugin.
 ActionMenu getContextMenuActions(Program program)
          Gets the actions for the context menu of a program.
 Icon getIcon()
          Gets the icon of this internal plugin.
 String getId()
          Gets the ID of this ContextMenuIf.
static ProgramInfoProxy getInstance()
           
 String getName()
          Gets the name of this internal plugin.
 String getSettingsId()
          Gets the settings id of this internal plugin.
 SettingsTab getSettingsTab()
          Gets the settings tab of this internal plugin.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static ProgramInfoProxy getInstance()
Returns:
The instance of the ProgramInfoProxy

getContextMenuActions

public ActionMenu getContextMenuActions(Program program)
Description copied from interface: ContextMenuIf
Gets the actions for the context menu of a program.

Specified by:
getContextMenuActions in interface ContextMenuIf
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.

getId

public String getId()
Description copied from interface: ContextMenuIf
Gets the ID of this ContextMenuIf.

Specified by:
getId in interface ContextMenuIf
Specified by:
getId in interface InternalPluginProxyIf
Returns:
The ID of this ContextMenuIf.

toString

public String toString()
Overrides:
toString in class Object

getButtonActionDescription

public String getButtonActionDescription()
Description copied from interface: InternalPluginProxyIf
Gets the description of this internal plugin.

Specified by:
getButtonActionDescription in interface InternalPluginProxyIf
Returns:
The description of this internal plugin.

getIcon

public Icon getIcon()
Description copied from interface: InternalPluginProxyIf
Gets the icon of this internal plugin.

Specified by:
getIcon in interface InternalPluginProxyIf
Returns:
The icon for this internal plugin.

getName

public String getName()
Description copied from interface: InternalPluginProxyIf
Gets the name of this internal plugin.

Specified by:
getName in interface InternalPluginProxyIf
Returns:
The name of this internal plugin.

getSettingsId

public String getSettingsId()
Description copied from interface: InternalPluginProxyIf
Gets the settings id of this internal plugin.

Specified by:
getSettingsId in interface InternalPluginProxyIf
Returns:
The settings id of this internal plugin.

getSettingsTab

public SettingsTab getSettingsTab()
Description copied from interface: InternalPluginProxyIf
Gets the settings tab of this internal plugin.

Specified by:
getSettingsTab in interface InternalPluginProxyIf
Returns:
The settings tab of this internal plugin.

TV-Browser 2.7.5 API

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