Interface ViewService
- All Known Implementing Classes:
TerminalUI
public interface ViewService
Provides services for a
View like handling modals.-
Method Summary
-
Method Details
-
getModal
Gets a current modal view.- Returns:
- current modal view
-
setModal
Sets a new modal view. Setting modal tonullclears existing modal.- Parameters:
view- a view to use as modal
-
setFocus
Sets a view to be focused. Setting focus tonullclears focused view.- Parameters:
view- a view to be focused
-