tablemodelcolumndata.java

来自「本程序是有IBM开发的一个基于数据表格的组件,里面有相关的例子和DOC,本站资料」· Java 代码 · 共 51 行

JAVA
51
字号


package com.ibm.j2x.swing.table;

/**
 * A Wrapper class used by the Castor XML parser to store table information
 * @author MAbernethy
 *
 */
public class TableModelColumnData
{
	private String name;
	private String field;
	
	/**
	 * Gets the name of the table column
	 * @return the column name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * Gets the field in the JavaBean of the table column
	 * @return the field name
	 */
	public String getField()
	{
		return field;
	}

	/**
	 * Sets the column name
	 * @param string the column name
	 */
	public void setName(String string)
	{
		name = string;
	}

	/**
	 * Sets the JavaBean field name of the columns
	 * @param string the field name
	 */
	public void setField(String string)
	{
		field = string;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?