package guitests.guihandles;

import guitests.GuiRobot;
import javafx.stage.Stage;
import seedu.taskell.TestApp;
import seedu.taskell.ui.DisplayPanel;

/**
 * Provides a handle for the main GUI.
 */
public class MainGuiHandle extends GuiHandle {

    public MainGuiHandle(GuiRobot guiRobot, Stage primaryStage) {
        super(guiRobot, primaryStage, TestApp.APP_TITLE);
    }

    public TaskListPanelHandle getTaskListPanel() {
        return new TaskListPanelHandle(guiRobot, primaryStage);
    }

    public ResultDisplayHandle getResultDisplay() {
        return new ResultDisplayHandle(guiRobot, primaryStage);
    }

    public CommandBoxHandle getCommandBox() {
        return new CommandBoxHandle(guiRobot, primaryStage, TestApp.APP_TITLE);
    }
    
    public DisplayPanelHandle getDisplayPanel() {
        return new DisplayPanelHandle(guiRobot, primaryStage);
    }

    public MainMenuHandle getMainMenu() {
        return new MainMenuHandle(guiRobot, primaryStage);
    }

}

@@ -754,16 +754,52 @@
  %7D%0A    %0A
+    /** @@author A0142130A **/%0A    %0A
     publ
@@ -900,32 +900,58 @@
 aryStage);%0A    %7D
+%0A    %0A    /** @@author **/
 %0A%0A    public Mai

mark code