import java.applet.Applet;
import java.awt.*;

/**  class EmptyDiagram
 *   draws a line to specify an empty diagram
 */
public class EmptyDiagram extends Diagram{

	//constructor--initializes connectorLocation to 1
	public EmptyDiagram() {
		connectorLocation = 1;
	}

	// draws line from the beginning of the diagram
	// at the at the connector Location
	// the line is connectorSize wide
	public void paint (Graphics g){
		g.drawLine(0,1, connectorSize, 1);
	}

	// size is connectorSize wide and 2 high
	public Dimension preferredSize () {
		return new Dimension (connectorSize, 2);
    }

}
