src/test/java/guitests/guihandles/DeadlineTaskListPanelHandle.java
/**
     * Navigates the listview to display and select the task.
     */
Navigates the listview to display and select the task.
Navigates the listview to display and select the task .
public DeadlineTaskCardHandle navigateToDeadlineTask(ReadOnlyTask task) {
        int index = getDeadlineTaskIndex(task);
        guiRobot.interact(() -> {
            getDeadlineListView().scrollTo(index);
            guiRobot.sleep(150);
            getDeadlineListView().getSelectionModel().select(index);
        });
        guiRobot.sleep(100);
        return getDeadlineTaskCardHandle(task);
    }
public DeadlineTaskCardHandle navigateToDeadlineTask ( ReadOnlyTask task ) { int index = getDeadlineTaskIndex ( task ) ; guiRobot . interact ( ( ) -> { getDeadlineListView ( ) . scrollTo ( index ) ; guiRobot . sleep ( 150 ) ; getDeadlineListView ( ) . getSelectionModel ( ) . select ( index ) ; } ) ; guiRobot . sleep ( 100 ) ; return getDeadlineTaskCardHandle ( task ) ; }
Navigates the listview to display and select the task.
Navigates the listview to display and select the task .