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.


Field Summary
protected  Class _class
           
protected  String _columnName
           
protected  boolean _editable
           
 
Constructor Summary
IlTableColumnInfo(Class theClass, boolean editable)
           
 
Method Summary
 Class getColumnClass()
           
 String getColumnName()
           
 boolean isColumnEditable()
           
 void setColumnName(String columnName)
          Changes the column name
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_editable

protected boolean _editable

_class

protected Class _class

_columnName

protected String _columnName
Constructor Detail

IlTableColumnInfo

public IlTableColumnInfo(Class theClass,
                         boolean editable)
Parameters:
theClass - The class of the value contained in the column
editable - Sets whether the values in the column are editable or not.
Method Detail

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