Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.keybindings
Interface KeybindingsService

All Known Implementing Classes:
KeybindingsServiceImpl

public interface KeybindingsService

The KeybindingService handles the distribution of configurable and persistent keybinding sets.

Author:
Damian Johnson

Method Summary
 KeybindingSet getBindings(KeybindingSet.Category category)
          Provides the bindings associated with a given category.
 GlobalKeybindingSet getGlobalBindings()
          Provides the bindings associated with the global category.
 Map<String,List<AWTKeyStroke>> getGlobalShortcutFromConfiguration()
          Returns list of global shortcuts from the configuration file.
 void saveGlobalShortcutFromConfiguration()
          Save the configuration file.
 

Method Detail

getBindings

KeybindingSet getBindings(KeybindingSet.Category category)
Provides the bindings associated with a given category. This may be null if the default bindings failed to be loaded.

Parameters:
category - segment of the UI for which bindings should be retrieved
Returns:
mappings of keystrokes to the string representation of their actions

getGlobalBindings

GlobalKeybindingSet getGlobalBindings()
Provides the bindings associated with the global category.

Returns:
global keybinding set

getGlobalShortcutFromConfiguration

Map<String,List<AWTKeyStroke>> getGlobalShortcutFromConfiguration()
Returns list of global shortcuts from the configuration file.

Returns:
list of global shortcuts.

saveGlobalShortcutFromConfiguration

void saveGlobalShortcutFromConfiguration()
Save the configuration file.


Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.