package part1;

import java.awt.Color;

/**
 * Stop Command for a VSH Player
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.2 $
 *
 */
public class VHSStopCommand extends AbstractPlayerCommand {

    public void init() {
	setText("VHS Stop");
	button.setBackground(Color.white);
	button.addActionListener(this);
    }

    public void press() {
	truify();

	System.out.println("##### VHS Stop Pressed.");
	((VHSContext)getContext()).commandChanged(this);
    }

}
	
