
package part1;

/**
 * Rewind for a Tape Player
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.2 $
 *
 */
public class TapeRewindCommand extends AbstractPlayerCommand {

    public void init() {
	setText("Rewind");
	button.addActionListener(this);
    }

    public void press() {
	truify();

	System.out.println("##### Tape Rewind Pressed.");
	((TapeContext)getContext()).commandChanged(this);
    }

}
	
