tablemodeldata.java
来自「本程序是有IBM开发的一个基于数据表格的组件,里面有相关的例子和DOC,本站资料」· Java 代码 · 共 73 行
JAVA
73 行
package com.ibm.j2x.swing.table;
import java.util.List;
/**
* A Wrapper class used by the Castor XML parser to store table information
* @author MAbernethy
*
*/
public class TableModelData
{
private String className;
private String name;
private List columns;
/**
* Gets the list of TableModelColumnmData that contains the colum info.
* @return the list of column info
*/
public List getColumns()
{
return columns;
}
/**
* Gets the name of the table model
* @return the table model's name
*/
public String getName()
{
return name;
}
/**
* Sets the column information
* @param list the column info
*/
public void setColumns(List list)
{
columns = list;
}
/**
* Sets the name of the table model
* @param string the table model's name
*/
public void setName(String string)
{
name = string;
}
/**
* Sets the classname using the table model
* @return the classname
*/
public String getClassName()
{
return className;
}
/**
* Sets the classname using the table model
* @param cls the classname
*/
public void setClassName(String cls)
{
this.className = cls;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?