diff --git a/src/Client/src/main/java/greenify/client/controller/DashBoardController.java b/src/Client/src/main/java/greenify/client/controller/DashBoardController.java index 8e3fae3..7ec63ec 100644 --- a/src/Client/src/main/java/greenify/client/controller/DashBoardController.java +++ b/src/Client/src/main/java/greenify/client/controller/DashBoardController.java @@ -317,7 +317,7 @@ public class DashBoardController { * Sorts the scores of users. * @param users the list of users */ - public void sortScores(List users) throws InterruptedException { + private void sortScores(List users) { for (int i = 0; i < users.size(); i++) { for (int j = 0; j < users.size(); j++) { Double first = userService.getFootprint(users.get(i)); @@ -340,7 +340,7 @@ public class DashBoardController { * Sorts the scores of users. * @param users the list of users */ - public List sortDiffScores(List users) throws InterruptedException { + private List sortDiffScores(List users) throws InterruptedException { for (int i = 0; i < users.size(); i++) { for (int j = 0; j < users.size(); j++) { Double firstDiff = userService.getFirstFootprint(users.get(i)) - userService @@ -366,7 +366,7 @@ public class DashBoardController { * Adds a fade transition for switching between the different panes. * @param node the node on which the transition needs to act */ - public void addFadeTransition(Node node) { + private void addFadeTransition(Node node) { fadeTrans = new FadeTransition(Duration.millis(400), node); fadeTrans.setFromValue(0); fadeTrans.setToValue(1.0); diff --git a/src/Client/src/main/resources/fxml/dashboard.fxml b/src/Client/src/main/resources/fxml/dashboard.fxml index 98d7c34..715220f 100644 --- a/src/Client/src/main/resources/fxml/dashboard.fxml +++ b/src/Client/src/main/resources/fxml/dashboard.fxml @@ -1,5 +1,12 @@ + + + + + + + @@ -18,7 +25,7 @@ - + @@ -47,7 +54,7 @@ -