Class AbstractFormPanelDisplay

    • Constructor Detail

      • AbstractFormPanelDisplay

        public AbstractFormPanelDisplay()
    • Method Detail

      • getPosition

        public int getPosition()
        Return the position of the element
        Specified by:
        getPosition in interface IFormListPosition
        Returns:
        the position of the element
      • getFormResponseNumber

        public int getFormResponseNumber()
        Return the form response number of the FormPanelDisplay
        Specified by:
        getFormResponseNumber in interface IFormPanelDisplay
        Returns:
        the form response number of the FormPanelDisplay
      • getTemplate

        public String getTemplate()
        Return the template of the FormPanelDisplay
        Specified by:
        getTemplate in interface IFormPanelDisplay
        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:
        isActive in interface IFormPanelDisplay
        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:
        setActive in interface IFormPanelDisplay
        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:
        getTechnicalCode in interface IFormPanelDisplay
        Returns:
        the technical code of the FormPanel
      • setFormPanel

        public void setFormPanel​(FormPanel formPanel)
        Set the FormPanel of the FormPanelDisplay
        Specified by:
        setFormPanel in interface IFormPanelDisplay
        Parameters:
        formPanel - The FormPanel of the FormPanelDisplay
      • buildTemplate

        public String buildTemplate​(Locale locale)
        Build the template of the FormPanelDisplay
        Specified by:
        buildTemplate in interface IFormPanelDisplay
        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:
        buildTemplate in interface IFormPanelDisplay
        Parameters:
        data - The data used to build the template
        locale - The locale used to build the template
        Returns:
        the built template of the FormPanelDisplay