/* Generated By:JJTree: Do not edit this line. Node.java */

/**************************************************************

File				: Node.java
Auther				: M. Spiller
Registration #		: Y0259667
Date				: Thursday 13th november 2003
Unit				: CMP-2A25 Programming - Software Development Techniques
Description			: 

**************************************************************/

import java.io.*;

public interface Node
{
	public void jjtOpen();
	public void jjtClose();
	public void jjtSetParent(Node n);
	public Node jjtGetParent();
	public void jjtAddChild(Node n, int i);
	public Node jjtGetChild(int i);
	public int jjtGetNumChildren();

    public abstract void StartItem(FileWriter SVGFile, String s);
    public abstract void NumberLabel(FileWriter SVGFile, String s, int i);
    public abstract void TextLabel(FileWriter SVGFile, String s, String s1);
    public abstract void EndItem(FileWriter SVGFile);
    public abstract void Stop(FileWriter SVGFile);
    public abstract void Enclose(FileWriter SVGFile, String s);

    public abstract void generate(FileWriter SVGFile,int Xsc, int Ysc, 
									int X, int Y,String colour,int brush);

	public abstract void DrawLine(FileWriter SVGFile,int Xsc, int Ysc, int X, int Y, 
								String colour, int brush, int x1, int y1, int x2, int y2);

	public abstract void DrawRectangle(FileWriter SVGFile,int Xsc, int Ysc, int X, int Y, 
								String colour, int brush, int x1, int y1, int x2, int y2);

	public abstract void DrawEllipse(FileWriter SVGFile,int Xsc, int Ysc, int X, int Y, 
								String colour,int brush, int x1, int y1, int x2, int y2);

	public abstract void DrawText(FileWriter SVGFile,int Xsc, int Ysc, int X, int Y, 
								String colour, int brush, int x1, int y1, int x2, String s1);
}
