/**
 * @auteur	: Dominique Capet aka MG.
 * @copyrights : MG For The Blatter Team. All rights reserved.
 * 
 * @projet : 		utils
 * @package :		packutils
 * @fichier :		cCadreBrut.java
 * @version :		V1.00.18 févr. 2010
 * @date :			18 févr. 2010 - 09:00:20
 * @der_modif :     18 févr. 2010 - 09:00:20
 * 
 */
package packutils;

// Importation.
import java.awt.Graphics;

/**
 * 
 * @class cCadreBrut
 *
 */
public class cCadreBrut extends cBaseFontePanel 
{
	// Constantes privées.
	private static final long serialVersionUID = 8440538455641323344L;

	public cCadreBrut(String iTexte, int x, int y) 
	{
		super(iTexte, x, y);
	}
	public void PrintTexteCadre(Graphics g, String[] TabTexte, int x, int y)
	{
		int Ind = 0;
		while (TabTexte[ Ind ] != "") {			
			PrintLine(g, TabTexte[ Ind ], x, y);
			y += HEIGHT_PIXEL_CHAR;
			Ind++;
		}
	}
	public void paintComponent(Graphics g) 
	{
		super.paintComponent(g);
		PrintTexteCadre(g, this.TabTexte, this.x, this.y);
	}
}

