devplugin

## Interface ContextMenuIf

- All Known Subinterfaces:
    PluginAccess, PluginProxy, TvDataServiceProxy
  All Known Implementing Classes:
    AbstractPluginProxy, AbstractTvDataServiceProxy, BeanShellPluginProxy, ConfigMenuItem, DefaultTvDataServiceProxy, DoNothingContextMenuItem, DummyPlugin, FavoritesPluginProxy, JavaPluginProxy, LeaveFullScreenMenuItem, Plugin, ProgramInfoProxy, ReminderPluginProxy, SearchPluginProxy, SelectProgramContextMenuItem, SeparatorMenuItem

      public interface ContextMenuIf

  A interface for a object that supports return an ActionMenu for a program.
  Author:
    René Mach

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `ACTIONKEY_KEYBOARD_EVENT`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ActionMenu` | `getContextMenuActions(Program program)` Gets the actions for the context menu of a program.
    `java.lang.String` | `getId()` Gets the ID of this ContextMenuIf.

- - ### Field Detail

    - #### ACTIONKEY_KEYBOARD_EVENT

          static final java.lang.String ACTIONKEY_KEYBOARD_EVENT

      Since:
        3.0
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getContextMenuActions

          ActionMenu getContextMenuActions(Program program)

      Gets the actions for the context menu of a program.
      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

          java.lang.String getId()

      Gets the ID of this ContextMenuIf.
      Returns:
        The ID of this ContextMenuIf.

TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)