-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy pathOutputView.java
More file actions
34 lines (29 loc) · 1.22 KB
/
Copy pathOutputView.java
File metadata and controls
34 lines (29 loc) · 1.22 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
package subway.View;
import java.util.List;
public class OutputView {
private static final String MAIN_MENU_MAIN_DISPLAY="## 메인화면";
private static final String MAIN_MENU_PATH_SEARCH="1. 경로 조회";
private static final String MAIN_MENU_QUIT="Q. 종료";
private static final String PATH_MENU_PATH_STANDARD="## 경로 기준";
private static final String PATH_MENU_SHORT_DISTANCE="1. 최단거리";
private static final String PATH_MENU_SHORT_TIME="2. 최소 시간";
private static final String PATH_MENU_BACK="B. 돌아가기";
public void printStation(List<String> tmpSave) {
System.out.println("[INFO] ---");
for(String string:tmpSave) {
System.out.println("[INFO] "+string);
}
}
public void setMainMenuMainDisplay(){
System.out.println(MAIN_MENU_MAIN_DISPLAY);
System.out.println(MAIN_MENU_PATH_SEARCH);
System.out.println(MAIN_MENU_QUIT);
}
public void setPathMenuPathStandard(){
System.out.println();
System.out.println(PATH_MENU_PATH_STANDARD);
System.out.println(PATH_MENU_SHORT_DISTANCE);
System.out.println(PATH_MENU_SHORT_TIME);
System.out.println(PATH_MENU_BACK);
}
}