The controller that corresponds to the KanjiEditor view.
More...
|
| KanjiEditorController () |
| Initializes a new instance of KanjiEditorController.
|
|
void | initialize () |
| Method called by the FXML Loader when the view is loaded.
|
|
void | onClick_returnButton (ActionEvent actionEvent) |
| Called when the return button is pressed.
|
|
void | onClick_resetButton (ActionEvent actionEvent) |
| Called when the reset button is pressed.
|
|
void | onClick_saveButton (ActionEvent actionEvent) |
| Called when the save button is pressed.
|
|
|
void | writeContentsToDisk () throws SQLException |
| Internal method to write contents to the hard disk database.
|
|
void | loadContentsFromDisk () throws SQLException |
| Internal method to read contents from the hard disk database.
|
|
|
String | originalNoteContents |
| The note contents at the time of the last save.
|
|
DBConnectionPool | dbConnectionPool |
| Singleton instance of dbConnectionPool associated with the KanjiEditorController object.
|
|
TextArea | noteEditor |
| FXML GUI object containing the text that the user is entering.
|
|
The controller that corresponds to the KanjiEditor view.
◆ onClick_resetButton()
void net.samuelcmace.utk.gui.controller.KanjiEditorController.onClick_resetButton |
( |
ActionEvent |
actionEvent | ) |
|
Called when the reset button is pressed.
- Parameters
-
actionEvent | The default arguments passed to the event. |
◆ onClick_returnButton()
void net.samuelcmace.utk.gui.controller.KanjiEditorController.onClick_returnButton |
( |
ActionEvent |
actionEvent | ) |
|
Called when the return button is pressed.
- Parameters
-
actionEvent | The default arguments passed to the event. |
◆ onClick_saveButton()
void net.samuelcmace.utk.gui.controller.KanjiEditorController.onClick_saveButton |
( |
ActionEvent |
actionEvent | ) |
|
Called when the save button is pressed.
- Parameters
-
actionEvent | The default arguments passed to the event. |
The documentation for this class was generated from the following file:
- /github/workspace/src/main/java/net/samuelcmace/utk/gui/controller/KanjiEditorController.java