net.java.sip.communicator.service.keybindings
Class KeybindingSet
java.lang.Object
java.util.Observable
net.java.sip.communicator.service.keybindings.KeybindingSet
- Direct Known Subclasses:
- KeybindingSetImpl
public abstract class KeybindingSet
- extends Observable
Wrapper for keybinding sets. Observers are notified when there's a change.
- Author:
- Damian Johnson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeybindingSet
public KeybindingSet()
getBindings
public abstract HashMap<KeyStroke,String> getBindings()
- Provides current keybinding mappings.
- Returns:
- mapping of keystrokes to the string representation of the actions
they perform
setBindings
public abstract void setBindings(Map<KeyStroke,String> newBindings)
- Resets the bindings and notifies the observer's listeners if they've
changed.
- Parameters:
newBindings - new keybindings to be held
getCategory
public abstract KeybindingSet.Category getCategory()
- Provides the portion of the UI to which the bindings belong.
- Returns:
- binding category
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.