-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrontendInterface.java
More file actions
45 lines (36 loc) · 1.06 KB
/
Copy pathFrontendInterface.java
File metadata and controls
45 lines (36 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import java.util.Scanner;
/**
* FrontendInterface - CS400 Project 1: iSongify
*/
public interface FrontendInterface {
//public FrontendInterface(Scanner in, BackendInterface backend)
/**
* Repeated gives the user an opportunity to issue new commands until
* they select Q to quit.
*/
public void runCommandLoop();
/**
* Displays the menu of command options to the user.
*/
public void displayMainMenu();
/**
* Provides text-based user interface and error handling for the
* [R]ead Data command.
*/
public void readFile();
/**
* Provides text-based user interface and error handling for the
* [G]et Songs by Energy command.
*/
public void getValues();
/**
* Provides text-based user interface and error handling for the
* [F]ilter Fast Songs (by Min Speed) command.
*/
public void setFilter();
/**
* Provides text-based user interface and error handling for the
* [D]isplay Five Most Danceable command.
*/
public void topFive();
}