import java.awt.Color;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.awt.geom.PathIterator;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

import javax.swing.JOptionPane;


/**
 * makes a line of text
 *
 * @author Joe Wanstrath.
 *         Created Mar 27, 2008.
 */
public class Text implements Tool{
	private Color color;
	private int x;
	private int y;
	private String message;
	
	/**
	 * 
	 * takes the x, y and color to start the line of text
	 *
	 * @param x
	 * @param y
	 * @param color
	 */
	public Text(int x, int y, Color color){
		this.color = color;
		this.x = x;
		this.y = y;
		String input1;
		input1 = JOptionPane.showInputDialog("Text");
		this.message = input1;
	}
	
	/**
	 * 
	 * returns the x coordinate
	 *
	 * @return x Coordinate
	 */
	public int getX(){
		return this.x;
	}
	
	/**
	 * 
	 * returns the y coordinate
	 *
	 * @return y Coordinate
	 */
	public int getY(){
		return this.y;
	}
	
	/**
	 * 
	 * returns the message
	 *
	 * @return message
	 */
	public String getMessage(){
		return this.message;
	}
	
	public Color getColor() {
		return this.color;
	}

	public void setColor(Color color) {
		this.color = color;
		
	}

	public boolean contains(Point2D p) {
		// Auto-generated method stub.
		return false;
	}

	public boolean contains(Rectangle2D r) {
		// Auto-generated method stub.
		return false;
	}

	public boolean contains(double x, double y) {
		// Auto-generated method stub.
		return false;
	}

	public boolean contains(double x, double y, double w, double h) {
		// Auto-generated method stub.
		return false;
	}

	public Rectangle getBounds() {
		// Auto-generated method stub.
		return null;
	}

	public Rectangle2D getBounds2D() {
		// Auto-generated method stub.
		return null;
	}

	public PathIterator getPathIterator(AffineTransform at) {
		// Auto-generated method stub.
		return null;
	}

	public PathIterator getPathIterator(AffineTransform at, double flatness) {
		// Auto-generated method stub.
		return null;
	}

	public boolean intersects(Rectangle2D r) {
		// Auto-generated method stub.
		return false;
	}

	public boolean intersects(double x, double y, double w, double h) {
		// Auto-generated method stub.
		return false;
	}

}
