public abstract class AbstractFormColumnDisplay extends Object implements IFormColumnDisplay
| Constructor and Description |
|---|
AbstractFormColumnDisplay() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCompleteSortUrl(String strSortUrl)
Build the complete sort url for the column
|
abstract String |
buildFormColumnCellTemplate(FormColumnCell formColumnCell,
Locale locale)
Build the template of the given FormColumnCell for the FormColumn
|
abstract String |
buildFormColumnHeaderTemplate(String strSortUrl,
Locale locale)
Build the header template of the FormColumn
|
IFormColumn |
getFormColumn()
Return the FormColumn object associated to the FormColumnDisplay
|
String |
getFormColumnHeaderTemplate()
Return the header template of the FormColumn
|
protected String |
getFormColumnTitle()
Return the title of the FormColumn or StringUtils.EMPTY if not found
|
int |
getPosition()
Return the position of the element
|
void |
setFormColumn(IFormColumn formColumn)
Set the FormColumn associated to the current FormColumnDisplay
|
protected void |
setFormColumnHeaderTemplate(String strFormColumnHeaderTemplate)
Set the form column header template to the form column
|
void |
setPosition(int nPosition)
Set the position of the element
|
public String getFormColumnHeaderTemplate()
getFormColumnHeaderTemplate in interface IFormColumnDisplayprotected void setFormColumnHeaderTemplate(String strFormColumnHeaderTemplate)
strFormColumnHeaderTemplate - The form column header template to set to the form columnpublic IFormColumn getFormColumn()
getFormColumn in interface IFormColumnDisplaypublic void setFormColumn(IFormColumn formColumn)
setFormColumn in interface IFormColumnDisplayformColumn - The FormColumn to associate to the FormColumnDisplaypublic int getPosition()
getPosition in interface IFormListPositionpublic void setPosition(int nPosition)
setPosition in interface IFormListPositionnPosition - The position to set to the elementpublic abstract String buildFormColumnHeaderTemplate(String strSortUrl, Locale locale)
buildFormColumnHeaderTemplate in interface IFormColumnDisplaystrSortUrl - The url used to sort the columnlocale - The locale to use to build the templatepublic abstract String buildFormColumnCellTemplate(FormColumnCell formColumnCell, Locale locale)
buildFormColumnCellTemplate in interface IFormColumnDisplayformColumnCell - The FormColumnCell to use for build the template of the FormColumnDisplaylocale - The locale to use for build the templateprotected String getFormColumnTitle()
Copyright © 2019 City of Paris. All rights reserved.