ilog.ds
Class IlTableColumnInfo
java.lang.Object
|
+--ilog.ds.IlTableColumnInfo
- public class IlTableColumnInfo
- extends java.lang.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_editable
protected boolean _editable
_class
protected java.lang.Class _class
_columnName
protected java.lang.String _columnName
IlTableColumnInfo
public IlTableColumnInfo(java.lang.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 java.lang.Class getColumnClass()
- Returns:
- the
class of value contained in the column
getColumnName
public java.lang.String getColumnName()
- Returns:
- column name (header)
isColumnEditable
public boolean isColumnEditable()
- Returns:
true if the values in the column are editable.
setColumnName
public void setColumnName(java.lang.String columnName)
- Changes the column name
- Parameters:
columnName - The name of the column
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- the column name