public class Amplifier extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) CdPlayer |
cd |
(package private) java.lang.String |
description |
(package private) DvdPlayer |
dvd |
(package private) Tuner |
tuner |
Constructor and Description |
---|
Amplifier(java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
void |
off() |
void |
on() |
void |
setCd(CdPlayer cd) |
void |
setDvd(DvdPlayer dvd) |
void |
setStereoSound() |
void |
setSurroundSound() |
void |
setTuner(Tuner tuner) |
void |
setVolume(int level) |
java.lang.String |
toString() |
java.lang.String description
public Amplifier(java.lang.String description)
public void on()
public void off()
public void setStereoSound()
public void setSurroundSound()
public void setVolume(int level)
public java.lang.String toString()
toString
in class java.lang.Object