/**
 * @(#)ClmDef.java
 * Copyright 2001 Nomura Research Institute, LTD. All rights reserved.
 * RID-3 : Colum Define
 * @author  Intelligent Technology Inc.
 * @version 1.00 2001/10/01-2002/01/08
 */
package	jp.co.nri.rid.table;

import javax.swing.table.*;

/**
 * RTable用のカラム定義情報
 */

public class ClmDef{
	public	String		name;
	public	String		type;
	public	String		sorttype;
	public	String		title;
	public	boolean		editable;
	public	int			width;
	public	int			sorted;
	public	TableColumn	column;
	
	public static int NONSORT	= 0;
	public static int ASSENDING	= 1;
	public static int DISSENDING= -1;
	
//--------[[ constructor ]]----------------------------------------------------
	/**
	 * @param	Name	名前
	 * @param	Type	データタイプ(+text等)
	 * @param	Title	カラムタイトル文字列
	 * @param	Width	カラム幅
	 */
	public ClmDef(String Name ,String Type ,String Title ,boolean Editable ,int Width){
		name		= new String(Name);
		type		= new String(Type);
		title		= new String(Title);
		editable	= Editable;
		width		= Width;
	}
}
