public class CdPlayer 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 |
title |
Constructor and Description |
---|
CdPlayer(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 title) |
void |
stop() |
java.lang.String |
toString() |
java.lang.String description
int currentTrack
java.lang.String title
public void on()
public void off()
public void eject()
public void play(java.lang.String title)
public void play(int track)
public void stop()
public void pause()
public java.lang.String toString()
toString
in class java.lang.Object