ilog.ds
Class IlTableColumnInfo
java.lang.Object
|
+--ilog.ds.IlTableColumnInfo
- public class IlTableColumnInfo
- extends Object
Class representing information for a table column, such as: - column name
(header); - class
of value contained in the column; - whether
the values in the column are editable or not.
_editable
protected boolean _editable
_class
protected Class _class
_columnName
protected String _columnName
IlTableColumnInfo
public IlTableColumnInfo(Class theClass,
boolean editable)
- Parameters:
theClass
- The class
of the value contained in the columneditable
- Sets whether the values in the column are editable or not.
getColumnClass
public Class getColumnClass()
- Returns:
- the
class
of value contained in the column
getColumnName
public String getColumnName()
- Returns:
- column name (header)
isColumnEditable
public boolean isColumnEditable()
- Returns:
true if the values in the column are editable.
setColumnName
public void setColumnName(String columnName)
- Changes the column name
- Parameters:
columnName
- The name of the column
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- the column name