|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.datatable.DataTableColumn
public class DataTableColumn
Data table column
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 column
public 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 false| Method Detail |
|---|
public 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 false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||