Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.keybindings
Class GlobalKeybindingSetImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.keybindings.GlobalKeybindingSetImpl
All Implemented Interfaces:
GlobalKeybindingSet

public class GlobalKeybindingSetImpl
extends Object
implements GlobalKeybindingSet

Global keybinding set.

Author:
Sebastien Vincent

Constructor Summary
GlobalKeybindingSetImpl()
           
 
Method Summary
 Map<String,List<AWTKeyStroke>> getBindings()
          Provides current keybinding mappings.
 void setBindings(Map<String,List<AWTKeyStroke>> bindings)
          Resets the bindings and notifies the observer's listeners if they've changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalKeybindingSetImpl

public GlobalKeybindingSetImpl()
Method Detail

getBindings

public Map<String,List<AWTKeyStroke>> getBindings()
Provides current keybinding mappings.

Specified by:
getBindings in interface GlobalKeybindingSet
Returns:
mapping of keystrokes to the string representation of the actions they perform

setBindings

public void setBindings(Map<String,List<AWTKeyStroke>> bindings)
Resets the bindings and notifies the observer's listeners if they've changed.

Specified by:
setBindings in interface GlobalKeybindingSet
Parameters:
bindings - new keybindings to be held

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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