private void showMode(int pos) {
    modeScreenView.showMode(pos, modes.get(pos), pos == currentPosition, modeHeaderMaxLength,
      modeDescriptionMaxLength);
  }
The presentation logic for the mode screen.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/screen/mode/ModeScreenPresenter.java