|
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.Objectjava.util.Observable
net.java.sip.communicator.service.keybindings.KeybindingSet
net.java.sip.communicator.impl.keybindings.KeybindingSetImpl
class KeybindingSetImpl
Default implementation for the wrapper of keybinding sets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.java.sip.communicator.service.keybindings.KeybindingSet |
|---|
KeybindingSet.Category |
| Constructor Summary | |
|---|---|
KeybindingSetImpl(Map<KeyStroke,String> initial,
KeybindingSet.Category category,
File saveDst)
|
|
| Method Summary | |
|---|---|
LinkedHashMap<KeyStroke,String> |
getBindings()
Provides current keybinding mappings. |
KeybindingSet.Category |
getCategory()
Provides the portion of the UI to which the bindings belong. |
(package private) File |
getCustomFile()
Provides the file where custom bindings are to be saved. |
(package private) void |
invalidate()
Invalidates reference to custom output, preventing further writes. |
(package private) boolean |
isWritable()
Provides if the keybindings can be written when changed or not. |
void |
setBindings(Map<KeyStroke,String> newBindings)
Resets the bindings and notifies the observer's listeners if they've changed. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
KeybindingSetImpl(Map<KeyStroke,String> initial,
KeybindingSet.Category category,
File saveDst)
| Method Detail |
|---|
public LinkedHashMap<KeyStroke,String> getBindings()
getBindings in class KeybindingSetpublic void setBindings(Map<KeyStroke,String> newBindings)
setBindings in class KeybindingSetnewBindings - new keybindings to be heldpublic KeybindingSet.Category getCategory()
getCategory in class KeybindingSetboolean isWritable()
File getCustomFile()
void invalidate()
|
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 | |||||||||