User can save, reset or cancel.

- Created a notification popups for errors
- Added functionality to save, cancel and reset buttons
- Key bindings are only saved if they're valid
- Added window close event
- Can not exit without saving correctly
- CSS to cancel, save and reset buttons to differentiate between key buttons
- Javadocd

#story[1197]
This commit is contained in:
Jessica Syder
2017-09-01 14:29:18 +12:00
parent 086206a623
commit 3fdfbd83e0
7 changed files with 180 additions and 9 deletions
@@ -39,6 +39,10 @@ public class KeyFactory {
return keyState;
}
public void setKeyState(Map<String, ControlKey> keyState) {
this.keyState = keyState;
}
/**
* Update the key bound to a particular command in the keystate.
* @param newKey the new key value for the command