private boolean |
SecondPanel.checkTaskExist(MainPanel mainPanel) |
Used to check if a task already exists in order to prevent data duplication (based on the title of the tasks)
|
private boolean |
SecondPanel.checkTypeExist(MainPanel context,
int i) |
Used to check if the type already exists, in order to prevent deleting a used type of task.
|
private boolean |
SecondPanel.checkTypeExist(MainPanel mainPanel,
java.lang.String input) |
Used to check if a type already exists, in order to prevent data duplication
|
(package private) void |
MenuBar.loadFileDat(java.io.File file,
MainPanel context) |
Used to load a .dat file and restore the state of a TaskStorage instance
|
(package private) void |
SecondPanel.loadTask(int index,
MainPanel context) |
Used to load a task in the second panel, when selected in the JList for example, with a specific index in the array of TaskStorage, with the current "context".
|
private void |
SecondPanel.proceedSave(MainPanel mainPanel) |
Used to save a task.
|
(package private) void |
SecondPanel.refreshBoxType(MainPanel mainPanel) |
Used to refresh the JComboBox, in order to display all the types of task if something was added or deleted.
|
private void |
MenuBar.showDialog(MainPanel mainPanel,
java.lang.String message) |
Used to show a personalized JOptionPane, with a specific message
|
private int |
SecondPanel.showDialog(MainPanel mainPanel,
java.lang.String message) |
Used to display a dynamic confirmation message JOptionPane.
|
private void |
MenuBar.writeFileDat(java.io.File file,
TaskStorage object,
MainPanel context) |
Used in order to save all the informations stored in the memory with the TaskStorage class.
|
private void |
MenuBar.writeFileTxt(java.io.File file,
MainPanel context) |
Used to write a txt file with all the saved tasks
|