001package headfirst.combined.djview; 002 003public class HeartController implements ControllerInterface { 004 HeartModelInterface model; 005 DJView view; 006 007 public HeartController(HeartModelInterface model) { 008 this.model = model; 009 view = new DJView(this, new HeartAdapter(model)); 010 view.createView(); 011 view.createControls(); 012 view.disableStopMenuItem(); 013 view.disableStartMenuItem(); 014 } 015 016 public void start() {} 017 018 public void stop() {} 019 020 public void increaseBPM() {} 021 022 public void decreaseBPM() {} 023 024 public void setBPM(int bpm) {} 025} 026 027 028