📄 tablemodeldata.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -