public class DvdPlayer extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Amplifier |
amplifier |
(package private) int |
currentTrack |
(package private) java.lang.String |
description |
(package private) java.lang.String |
movie |
Constructor and Description |
---|
DvdPlayer(java.lang.String description,
Amplifier amplifier) |
Modifier and Type | Method and Description |
---|---|
void |
eject() |
void |
off() |
void |
on() |
void |
pause() |
void |
play(int track) |
void |
play(java.lang.String movie) |
void |
setSurroundAudio() |
void |
setTwoChannelAudio() |
void |
stop() |
java.lang.String |
toString() |
java.lang.String description
int currentTrack
java.lang.String movie
public void on()
public void off()
public void eject()
public void play(java.lang.String movie)
public void play(int track)
public void stop()
public void pause()
public void setTwoChannelAudio()
public void setSurroundAudio()
public java.lang.String toString()
toString
in class java.lang.Object