matches.
| Modifier and Type | Field and Description |
|---|---|
| private final MapProperty | bindings
sorted by localization |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if matching, else falseas KeyCombination combination, KeyEvent as KeEvent keyEvent)Check if the given keyCombination equals the given keyEvent |
| public boolean | Returns: true if matching, else falseas KeyBinding binding, KeyEvent as KeEvent keyEvent)Check if the given KeyBinding equals the given keyEvent |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Optional | |
| public String | |
| public List | |
| public MapProperty | |
| public List | |
| private Optional | |
| public SortedMap | |
| public Optional | |
| public int | |
| public Optional | |
| private Set | |
| public boolean | matches(KeyEvent event, KeyBinding keyBinding)
Checks if the given KeyEvent matches the given KeyBinding. |
| public void | |
| public void | |
| public void | |
| public void | |
| public int |
| bindings | back to summary |
|---|---|
| private final MapProperty<KeyBinding, String> bindings sorted by localization | |
| KeyBindingRepository | back to summary |
|---|---|
| public KeyBindingRepository() | |
| KeyBindingRepository | back to summary |
|---|---|
| public KeyBindingRepository(SortedMap<KeyBinding, String> bindings) | |
| KeyBindingRepository | back to summary |
|---|---|
| public KeyBindingRepository(List<String> bindNames, List<String> bindings) | |
| checkKeyCombinationEquality | back to summary |
|---|---|
| public static boolean checkKeyCombinationEquality(KeyCombination combination, KeyEvent keyEvent) Check if the given keyCombination equals the given keyEvent
| |
| checkKeyCombinationEquality | back to summary |
|---|---|
| public boolean checkKeyCombinationEquality(KeyBinding binding, KeyEvent keyEvent) Check if the given KeyBinding equals the given keyEvent
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public Optional | |
| get | back to summary |
|---|---|
| public String get(String key) | |
| getBindings | back to summary |
|---|---|
| public List | |
| getBindingsProperty | back to summary |
|---|---|
| public MapProperty | |
| getBindNames | back to summary |
|---|---|
| public List | |
| getKeyBinding | back to summary |
|---|---|
| private Optional | |
| getKeyBindings | back to summary |
|---|---|
| public SortedMap Returns the HashMap containing all key bindings. | |
| getKeyCombination | back to summary |
|---|---|
| public Optional | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| mapToKeyBinding | back to summary |
|---|---|
| public Optional Searches the key bindings for the given KeyEvent. Only the first matching key binding is returned.
If you need all matching key bindings, use | |
| mapToKeyBindings | back to summary |
|---|---|
| private Set Used if the same key could be used by multiple actions | |
| matches | back to summary |
|---|---|
| public boolean matches(KeyEvent event, KeyBinding keyBinding) Checks if the given KeyEvent matches the given KeyBinding. Used if a keyboard shortcut leads to multiple actions (e.g., ESC for closing a dialog and clearing the search). | |
| put | back to summary |
|---|---|
| public void put(KeyBinding key, String value) | |
| put | back to summary |
|---|---|
| public void put(String key, String value) | |
| resetToDefault | back to summary |
|---|---|
| public void resetToDefault(String key) | |
| resetToDefault | back to summary |
|---|---|
| public void resetToDefault() | |
| size | back to summary |
|---|---|
| public int size() | |