| Modifier and Type | Field and Description |
|---|---|
| protected final MenuItem | |
| private final DialogService | |
| private final FileHistory | |
| private final OpenDatabaseAction |
| Access | Constructor and Description |
|---|---|
| public | FileHistoryMenu(FileHistory fileHistory, DialogService dialogService, OpenDatabaseAction openDatabaseAction)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: false if typed char is invalid or not a number.a KeyEvent. keyEvent)This method is to use typed letters to access recent libraries in menu. |
| private void |
| clearRecentLibraries | back to summary |
|---|---|
| protected final MenuItem clearRecentLibraries | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| history | back to summary |
|---|---|
| private final FileHistory history | |
| openDatabaseAction | back to summary |
|---|---|
| private final OpenDatabaseAction openDatabaseAction | |
| FileHistoryMenu | back to summary |
|---|---|
| public FileHistoryMenu(FileHistory fileHistory, DialogService dialogService, OpenDatabaseAction openDatabaseAction) | |
| addItem | back to summary |
|---|---|
| private void addItem(Path file, int num) | |
| clearLibrariesHistory | back to summary |
|---|---|
| public void clearLibrariesHistory() | |
| newFile | back to summary |
|---|---|
| public void newFile(Path file) Adds the filename to the top of the menu. If it already is in the menu, it is merely moved to the top. | |
| openFile | back to summary |
|---|---|
| public void openFile(Path file) | |
| openFileByKey | back to summary |
|---|---|
| public boolean openFileByKey(KeyEvent keyEvent) This method is to use typed letters to access recent libraries in menu.
| |
| setItems | back to summary |
|---|---|
| private void setItems() | |