Package com.jk.core.model.table
Class JKTableColumnValue<T>
java.lang.Object
com.jk.core.model.table.JKTableColumnValue<T>
- Type Parameters:
 T- the data type of the value.
This class represents a value associated with a specific table column in a
 
JKTableModel.- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a newJKTableColumnValue.JKTableColumnValue(JKTableColumn tableColumn) This method constructs a newJKTableColumnValueassociated with the given table column. - 
Method Summary
Modifier and TypeMethodDescriptionThis method the table column associated with this value.getValue()This method gets the actual value contained.booleanThis method checks if this value is enabled or not.voidsetEnabled(boolean enabled) This method specify if this value is enabled or not.voidsetTableColumn(JKTableColumn tableColumn) This method sets the table column to the specified column.voidThis method changes the value to the specified one. 
- 
Constructor Details
- 
JKTableColumnValue
public JKTableColumnValue()This method constructs a newJKTableColumnValue. - 
JKTableColumnValue
This method constructs a newJKTableColumnValueassociated with the given table column.- Parameters:
 tableColumn- Specifies the table column, this value is associated with.
 
 - 
 - 
Method Details
- 
getTableColumn
This method the table column associated with this value.- Returns:
 - the table column associated with this value.
 
 - 
getValue
This method gets the actual value contained.- Returns:
 - the value.
 
 - 
isEnabled
public boolean isEnabled()This method checks if this value is enabled or not.- Returns:
 - true, if it is enabled, false otherwise.
 
 - 
setEnabled
public void setEnabled(boolean enabled) This method specify if this value is enabled or not.- Parameters:
 enabled- Specifies if this value is enabled or not.
 - 
setTableColumn
This method sets the table column to the specified column.- Parameters:
 tableColumn- Specifies the new table column associated with this value.
 - 
setValue
This method changes the value to the specified one.- Parameters:
 value- Specifies the new value.
 
 -