
package part1;

import java.awt.Color;

/**
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.1.1.1 $
 *
 */
public class CDRewindCommand extends AbstractPlayerCommand {

    public void init() {
	setText("<<");
	button.setBackground(Color.black);
	button.setForeground(Color.white);
	button.addActionListener(this);
    }

    public void press() {
	truify();

	System.out.println("##### CD Rewind Pressed.");
	((CDContext)getContext()).commandChanged(this);
    }

}
	
