diff --git a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/PracticeListController.java b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/PracticeListController.java index 4a7d36e..4744ef5 100644 --- a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/PracticeListController.java +++ b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/PracticeListController.java @@ -58,7 +58,10 @@ public class PracticeListController extends SharedCodeController { public ObservableList list = FXCollections.observableArrayList(); /** - * + * Method to switch the language used to sort the dictionary list. + *

+ * If currently sorted by English, this will change the sort to by Welsh. + * If currently sorted by Welsh, this will change the sort to by English. */ @FXML private void switchLangSort() { @@ -91,7 +94,10 @@ public class PracticeListController extends SharedCodeController { } /** - * + * Method to switch the alphabetical order used to sort the dictionary list. + *

+ * If currently sorted by A-Z, this will change the sort to by Z-A. + * If currently sorted by Z-A, this will change the sort to by A-Z. */ @FXML private void switchAlphaSort() { @@ -116,13 +122,10 @@ public class PracticeListController extends SharedCodeController { /** - * Initializes the table of dictionary entries. + * Initializes the table of dictionary entries. *

* An observable list of DictionaryEntries is loaded from the Application class into a local instance of ObservableList. * It also sets up Lambda expressions related to live searching functionality and the display of DictionaryEntries. - *

- * // * @param url - * // * @param resourceBundle * * @see Application * @see DictionaryEntry