| Modifier and Type | Field and Description |
|---|---|
| private final KeyBindingCategory | |
| private final ObservableList | |
| private final SimpleStringProperty | |
| private KeyBinding | |
| private final KeyBindingRepository | |
| private String | |
| private final SimpleStringProperty |
| Access | Constructor and Description |
|---|---|
| public | KeyBindingViewModel(KeyBindingRepository keyBindingRepository, KeyBinding keyBinding, String binding)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | |
| public ObservableList | |
| public Optional | |
| public KeyBinding | |
| public Optional | |
| public boolean | |
| public StringProperty | |
| public void | resetToDefault()
This method will reset the key bind of this models KeyBinding object to it's default bind |
| private void | |
| private void | |
| public boolean | Returns: true if the KeyEvent is a valid binding, false elseas KeyEvent evt)Sets a a new key bind to this objects key binding object if the given key event is a valid combination of keys. |
| public StringProperty |
| category | back to summary |
|---|---|
| private final KeyBindingCategory category | |
| children | back to summary |
|---|---|
| private final ObservableList<KeyBindingViewModel> children | |
| displayName | back to summary |
|---|---|
| private final SimpleStringProperty displayName | |
| keyBinding | back to summary |
|---|---|
| private KeyBinding keyBinding | |
| keyBindingRepository | back to summary |
|---|---|
| private final KeyBindingRepository keyBindingRepository | |
| realBinding | back to summary |
|---|---|
| private String realBinding | |
| shownBinding | back to summary |
|---|---|
| private final SimpleStringProperty shownBinding | |
| KeyBindingViewModel | back to summary |
|---|---|
| public KeyBindingViewModel(KeyBindingRepository keyBindingRepository, KeyBinding keyBinding, String binding) | |
| KeyBindingViewModel | back to summary |
|---|---|
| public KeyBindingViewModel(KeyBindingRepository keyBindingRepository, KeyBindingCategory category) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| getBinding | back to summary |
|---|---|
| public String getBinding() | |
| getChildren | back to summary |
|---|---|
| public ObservableList | |
| getClearIcon | back to summary |
|---|---|
| public Optional | |
| getKeyBinding | back to summary |
|---|---|
| public KeyBinding getKeyBinding() | |
| getResetIcon | back to summary |
|---|---|
| public Optional | |
| isCategory | back to summary |
|---|---|
| public boolean isCategory() | |
| nameProperty | back to summary |
|---|---|
| public StringProperty nameProperty() | |
| resetToDefault | back to summary |
|---|---|
| public void resetToDefault() This method will reset the key bind of this models KeyBinding object to it's default bind | |
| setBinding | back to summary |
|---|---|
| private void setBinding(String bind) | |
| setDisplayName | back to summary |
|---|---|
| private void setDisplayName() | |
| setNewBinding | back to summary |
|---|---|
| public boolean setNewBinding(KeyEvent evt) Sets a a new key bind to this objects key binding object if the given key event is a valid combination of keys.
| |
| shownBindingProperty | back to summary |
|---|---|
| public StringProperty shownBindingProperty() | |