public class DJView extends java.lang.Object implements java.awt.event.ActionListener, BeatObserver, BPMObserver
Constructor and Description |
---|
DJView(ControllerInterface controller,
BeatModelInterface model) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
void |
createControls() |
void |
createView() |
void |
disableStartMenuItem() |
void |
disableStopMenuItem() |
void |
enableStartMenuItem() |
void |
enableStopMenuItem() |
void |
updateBeat() |
void |
updateBPM() |
public DJView(ControllerInterface controller, BeatModelInterface model)
public void createView()
public void createControls()
public void enableStopMenuItem()
public void disableStopMenuItem()
public void enableStartMenuItem()
public void disableStartMenuItem()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void updateBPM()
updateBPM
in interface BPMObserver
public void updateBeat()
updateBeat
in interface BeatObserver