public class DataTableColumn extends Object implements Serializable
| Constructor and Description |
|---|
DataTableColumn(String strTitleKey,
String strParameterName,
boolean bSortable,
DataTableColumnType typeColumn)
Creates a new DataTableColumn
|
DataTableColumn(String strTitleKey,
String strParameterName,
boolean bSortable,
DataTableColumnType columnType,
String strLabelTrue,
String strLabelFalse)
Creates a new boolean DataTableColumn
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelFalse()
Get the label to print in a cell if the boolean value is false
|
String |
getLabelTrue()
Get the label to print in a cell if the boolean value is true
|
String |
getParameterName()
Get the name of the object to insert into this cells of this column
|
boolean |
getSortable()
Get the sortable boolean of this column
|
String |
getTitleKey()
Get the I18n key of the title of this column
|
DataTableColumnType |
getTypeColumn()
Get the type of the column
|
void |
setLabelFalse(String strLabelFalse)
Set the label to print in a cell if the boolean value is false
|
void |
setLabelTrue(String strLabelTrue)
Set the label to print in a cell if the boolean value is true
|
void |
setParameterName(String strParameterName)
Set the name of the object to insert into this cells of this column
|
void |
setSortable(boolean bSortable)
Set the sortable boolean of this column
|
void |
setTitleKey(String strTitleKey)
Set the I18n key of the title of this column
|
void |
setTypeColumn(DataTableColumnType columnType)
Set the type of the column
|
public DataTableColumn(String strTitleKey, String strParameterName, boolean bSortable, DataTableColumnType typeColumn)
strTitleKey - I18n key of the title of this columnstrParameterName - Name of the object to insert into this cells of this columnbSortable - True of the column is sortable, false otherwisetypeColumn - The type of data displayed by the columnpublic DataTableColumn(String strTitleKey, String strParameterName, boolean bSortable, DataTableColumnType columnType, String strLabelTrue, String strLabelFalse)
strTitleKey - I18n key of the title of this columnstrParameterName - Name of the object to insert into this cells of this columnbSortable - True of the column is sortable, false otherwisecolumnType - The type of data displayed by the columnstrLabelTrue - The label to display in a cell if the value is truestrLabelFalse - The label to display in a cell if the value is falsepublic String getTitleKey()
public void setTitleKey(String strTitleKey)
strTitleKey - The I18n key of the title of this columnpublic String getParameterName()
public void setParameterName(String strParameterName)
strParameterName - The name of the object to insert into this cells of this columnpublic boolean getSortable()
public void setSortable(boolean bSortable)
bSortable - true if the column is sortable, false otherwisepublic DataTableColumnType getTypeColumn()
public void setTypeColumn(DataTableColumnType columnType)
columnType - The type of the columnpublic String getLabelTrue()
public void setLabelTrue(String strLabelTrue)
strLabelTrue - The label to print in a cell if the boolean value is truepublic String getLabelFalse()
public void setLabelFalse(String strLabelFalse)
strLabelFalse - The label to print in a cell if the boolean value is falseCopyright © 2020 City of Paris. All rights reserved.