public void switchFieldDisplay() {
    if (!moveMode) {
      Field field = fields.get(currentPosition);
      fieldDisplayMap.put(field, !fieldDisplayMap.get(field));
      showField(currentPosition);
      fieldScreenView.refreshTerminal();
    }
  }
The presentation logic for the field screen.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/screen/field/FieldScreenPresenter.java