|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.keybindings.KeybindingsServiceImpl
class KeybindingsServiceImpl
Service that concerns keybinding mappings used by various parts of the UI. Persistence is handled as follows when started:
| Constructor Summary | |
|---|---|
KeybindingsServiceImpl()
|
|
| 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. |
(package private) void |
start(org.osgi.framework.BundleContext bc)
Starts the KeybindingService, for each keybinding category retrieving the default bindings then overwriting them with any custom bindings that can be retrieved. |
(package private) void |
stop()
Invalidates references to custom bindings, preventing further writes. |
void |
update(Observable obs,
Object arg)
Listens for changes in binding sets so changes can be written. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
KeybindingsServiceImpl()
| Method Detail |
|---|
void start(org.osgi.framework.BundleContext bc)
bc - the currently valid OSGI bundle context.void stop()
public KeybindingSet getBindings(KeybindingSet.Category category)
getBindings in interface KeybindingsServicecategory - segment of the UI for which bindings should be retrieved
UnsupportedOperationException - if the service isn't running
public void update(Observable obs,
Object arg)
update in interface Observerpublic Map<String,List<AWTKeyStroke>> getGlobalShortcutFromConfiguration()
getGlobalShortcutFromConfiguration in interface KeybindingsServicepublic void saveGlobalShortcutFromConfiguration()
saveGlobalShortcutFromConfiguration in interface KeybindingsServicepublic GlobalKeybindingSet getGlobalBindings()
getGlobalBindings in interface KeybindingsService
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||