public class HomeTheaterFacade extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Amplifier |
amp |
(package private) CdPlayer |
cd |
(package private) DvdPlayer |
dvd |
(package private) TheaterLights |
lights |
(package private) PopcornPopper |
popper |
(package private) Projector |
projector |
(package private) Screen |
screen |
(package private) Tuner |
tuner |
Constructor and Description |
---|
HomeTheaterFacade(Amplifier amp,
Tuner tuner,
DvdPlayer dvd,
CdPlayer cd,
Projector projector,
Screen screen,
TheaterLights lights,
PopcornPopper popper) |
Modifier and Type | Method and Description |
---|---|
void |
endCd() |
void |
endMovie() |
void |
endRadio() |
void |
listenToCd(java.lang.String cdTitle) |
void |
listenToRadio(double frequency) |
void |
watchMovie(java.lang.String movie) |
TheaterLights lights
PopcornPopper popper
public HomeTheaterFacade(Amplifier amp, Tuner tuner, DvdPlayer dvd, CdPlayer cd, Projector projector, Screen screen, TheaterLights lights, PopcornPopper popper)
public void watchMovie(java.lang.String movie)
public void endMovie()
public void listenToCd(java.lang.String cdTitle)
public void endCd()
public void listenToRadio(double frequency)
public void endRadio()