public void init() {
    modeScreenView.hideCursor();
    modeScreenView.clearTerminal();
    modeScreenView.showModeScreen(currentMode, modes, currentPosition, modeHeaderMaxLength,
      modeDescriptionMaxLength);
    modeScreenView.refreshTerminal();
  }
The presentation logic for the mode screen.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/screen/mode/ModeScreenPresenter.java