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
Abstract class for FormPanelDisplay class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildTemplate(Locale locale) Build the template of the FormPanelDisplaybuildTemplate(Map<String, Object> data, Locale locale) Build the template of the FormPanelDisplayReturn the formPanel of the FormPanelDisplayReturn the list of FormItem of the FormPanelDisplayintReturn the form response number of the FormPanelDisplayintReturn the position of the elementReturn the technical code of the FormPanelReturn 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 FormPanelDisplayMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.forms.web.form.multiview.util.IFormListPosition
setPosition
-
Constructor Details
-
AbstractFormPanelDisplay
public AbstractFormPanelDisplay()
-
-
Method Details
-
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
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
Return the technical code of the FormPanel- Specified by:
getTechnicalCodein interfaceIFormPanelDisplay- Returns:
- the technical code of the FormPanel
-
getFormResponseItemList
Return the list of FormItem of the FormPanelDisplay- Specified by:
getFormResponseItemListin interfaceIFormPanelDisplay- Returns:
- the list of FormItem of the FormPanelDisplay
-
getFormPanel
Return the formPanel of the FormPanelDisplay- Specified by:
getFormPanelin interfaceIFormPanelDisplay- Returns:
- the formPanel
-
setFormPanel
Set the FormPanel of the FormPanelDisplay- Specified by:
setFormPanelin interfaceIFormPanelDisplay- Parameters:
formPanel- The FormPanel of the FormPanelDisplay
-
buildTemplate
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
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
-