package data.graph;

import java.util.*;
import data.*;
import data.graph.*;
import data.geom.plain.*;


/** fileName=/projects/javaclass/gen/data/graph/TextArea.java
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public  class TextArea extends Shape {
	/**
	 * <!-- begin-user-doc -->
	 * no argument constructor
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TextArea() {
		
		// begin-user-code
		// end-user-code
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * copy constructor
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TextArea(TextArea o) {
		super(o);
		setInit(o.getInit());
		setLines(o.getLines());
		// begin-user-code
		// end-user-code
	}

	/**
	 * <!-- begin-user-doc -->
	 * constructor on attributes and navigable associations
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TextArea(String init, String[] lines) {
		setInit(init);
		setLines(lines);
		
		// begin-user-code
		// end-user-code
	}
		
	/**
	 * <!-- begin-user-doc -->
	 * set attributes and imported associations
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setData(TextArea o) {
		
		setInit(o.getInit());
		setLines(o.getLines());
		// begin-user-code
		// end-user-code
	}
	
	
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public   Point[] place(Point p) {
		// begin-user-code
		Point[] ret = null;
		return ret;
		// end-user-code
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public   void draw() {
		// begin-user-code
		
		// end-user-code
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public   void refresh(Date time) {
		// begin-user-code
		
		// end-user-code
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public   Point resize(Integer x, Integer y) {
		// begin-user-code
		Point ret = null;
		return ret;
		// end-user-code
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public  static String[] stat() {
		// begin-user-code
		String[] ret = null;
		return ret;
		// end-user-code
	}
	
	/**
	 * @unmodifiable
	 */
	static private Alignment ALIGNMENT = Alignment.LEFT;
	/** 
	 * @unmodifiable
	 */
	public static Alignment getALIGNMENT() {
		return ALIGNMENT;
	}
	/** 
	 * @unmodifiable
	 */
	public static void setALIGNMENT(Alignment _ALIGNMENT) {
		ALIGNMENT = _ALIGNMENT;
	}
	
	/**
	 * @unmodifiable
	 */
	private String init = "xxxx";
	/** 
	 * @unmodifiable
	 */
	public String getInit() {
		return init;
	}
	/** 
	 * @unmodifiable
	 */
	public void setInit(String init) {
		this.init = init;
	}
	
	/**
	 * @unmodifiable
	 */
	private String[] lines;
	/** 
	 * @unmodifiable
	 */
	public String[] getLines() {
		return lines;
	}
	/** 
	 * @unmodifiable
	 */
	public void setLines(String[] lines) {
		this.lines = lines;
	}
	
	
	
	/** 
	 * <!-- begin-user-doc -->
	 * comma separated values of all fields
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String toString() {
		StringBuffer sb = new StringBuffer(super.toString());
		sb.append("[");
		sb.append(init);
		sb.append(", ");
		sb.append(lines);
		
		sb.append("]");
		// begin-user-code
		// end-user-code
		return sb.toString();
	}

	/** 
	 * <!-- begin-user-doc -->
	 * space separated values of selected fields for display
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String toDisplayString() {
		StringBuffer sb = new StringBuffer();
		// begin-user-code
		
		sb.append(super.toDisplayString());
		sb.append(" ");
		sb.append(init == null ? "" : init.toString());
		
		// end-user-code
		return sb.toString();
	}
	
	/** 
	 * @unmodifiable
	 */
	public boolean equals(Object other) {
		if (this == other) return true;
		if (!(other instanceof TextArea)) return false;
		if(!super.equals(other)) return false;
		final TextArea o = (TextArea) other;

		
		if(o.getInit() == null) {
			if (getInit() != null) return false;
		}
		else if (!o.getInit().equals(getInit()))
			return false;
		
		if(o.getLines() == null) {
			if (getLines() != null) return false;
		}
		else if (!o.getLines().equals(getLines()))
			return false;
		

		return true;
	}

	/** 
	 * @unmodifiable
	 */
	public int hashCode() {
		int res = 0;
		
		if(getInit() != null)
			res = 29 * res + getInit().hashCode();
		
		if(getLines() != null)
			res = 29 * res + getLines().hashCode();
		
		return res;
	}
}
	
Syntax Highlighting created using the com.Ostermiller.Syntax package.
Wednesday, September 19 2007 at 17:46