Class AbstractFormPanelDisplay
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.web.form.panel.display.impl.AbstractFormPanelDisplay
-
- All Implemented Interfaces:
IFormListPosition,IFormPanelDisplay
- Direct Known Subclasses:
FormPanelFormsDisplay
public abstract class AbstractFormPanelDisplay extends Object implements IFormPanelDisplay
Abstract class for FormPanelDisplay class
-
-
Constructor Summary
Constructors Constructor Description AbstractFormPanelDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildTemplate(Locale locale)Build the template of the FormPanelDisplayStringbuildTemplate(Map<String,Object> data, Locale locale)Build the template of the FormPanelDisplayFormPanelgetFormPanel()Return the formPanel of the FormPanelDisplayList<FormResponseItem>getFormResponseItemList()Return the list of FormItem of the FormPanelDisplayintgetFormResponseNumber()Return the form response number of the FormPanelDisplayintgetPosition()Return the position of the elementStringgetTechnicalCode()Return the technical code of the FormPanelStringgetTemplate()Return the template of the FormPanelDisplaybooleanisActive()Return the boolean which tell if the PanelDisplay is for the active Panel or notvoidsetActive(boolean bActive)Set the boolean which tell if the PanelDisplay is for the active Panel or notvoidsetFormPanel(FormPanel formPanel)Set the FormPanel of the FormPanelDisplay-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.forms.web.form.multiview.util.IFormListPosition
setPosition
-
-
-
-
Method Detail
-
getPosition
public int getPosition()
Return the position of the element- Specified by:
getPositionin interfaceIFormListPosition- Returns:
- the position of the element
-
getFormResponseNumber
public int getFormResponseNumber()
Return the form response number of the FormPanelDisplay- Specified by:
getFormResponseNumberin interfaceIFormPanelDisplay- Returns:
- the form response number of the FormPanelDisplay
-
getTemplate
public String getTemplate()
Return the template of the FormPanelDisplay- Specified by:
getTemplatein interfaceIFormPanelDisplay- Returns:
- the template of the FormPanelDisplay
-
isActive
public boolean isActive()
Return the boolean which tell if the PanelDisplay is for the active Panel or not- Specified by:
isActivein interfaceIFormPanelDisplay- Returns:
- the boolean which tell if the PanelDisplay is for the active Panel or not
-
setActive
public void setActive(boolean bActive)
Set the boolean which tell if the PanelDisplay is for the active Panel or not- Specified by:
setActivein interfaceIFormPanelDisplay- Parameters:
bActive- The boolean which tell if the PanelDisplay is for the active Panel or not
-
getTechnicalCode
public String getTechnicalCode()
Return the technical code of the FormPanel- Specified by:
getTechnicalCodein interfaceIFormPanelDisplay- Returns:
- the technical code of the FormPanel
-
getFormResponseItemList
public List<FormResponseItem> getFormResponseItemList()
Return the list of FormItem of the FormPanelDisplay- Specified by:
getFormResponseItemListin interfaceIFormPanelDisplay- Returns:
- the list of FormItem of the FormPanelDisplay
-
getFormPanel
public FormPanel getFormPanel()
Return the formPanel of the FormPanelDisplay- Specified by:
getFormPanelin interfaceIFormPanelDisplay- Returns:
- the formPanel
-
setFormPanel
public void setFormPanel(FormPanel formPanel)
Set the FormPanel of the FormPanelDisplay- Specified by:
setFormPanelin interfaceIFormPanelDisplay- Parameters:
formPanel- The FormPanel of the FormPanelDisplay
-
buildTemplate
public String buildTemplate(Locale locale)
Build the template of the FormPanelDisplay- Specified by:
buildTemplatein interfaceIFormPanelDisplay- Parameters:
locale- The locale used to build the template- Returns:
- the built template of the FormPanelDisplay
-
buildTemplate
public String buildTemplate(Map<String,Object> data, Locale locale)
Build the template of the FormPanelDisplay- Specified by:
buildTemplatein interfaceIFormPanelDisplay- Parameters:
data- The data used to build the templatelocale- The locale used to build the template- Returns:
- the built template of the FormPanelDisplay
-
-