Class AbstractFormPanelDisplay

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String buildTemplate​(java.util.Locale locale)
      Build the template of the FormPanelDisplay
      java.lang.String buildTemplate​(java.util.Map<java.lang.String,​java.lang.Object> data, java.util.Locale locale)
      Build the template of the FormPanelDisplay
      FormPanel getFormPanel()
      Return the formPanel of the FormPanelDisplay
      java.util.List<FormResponseItem> getFormResponseItemList()
      Return the list of FormItem of the FormPanelDisplay
      int getFormResponseNumber()
      Return the form response number of the FormPanelDisplay
      int getPosition()
      Return the position of the element
      java.lang.String getTechnicalCode()
      Return the technical code of the FormPanel
      java.lang.String getTemplate()
      Return the template of the FormPanelDisplay
      boolean isActive()
      Return the boolean which tell if the PanelDisplay is for the active Panel or not
      void setActive​(boolean bActive)
      Set the boolean which tell if the PanelDisplay is for the active Panel or not
      void setFormPanel​(FormPanel formPanel)
      Set the FormPanel of the FormPanelDisplay
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.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 java.lang.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 java.lang.String buildTemplate​(java.util.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 java.lang.String buildTemplate​(java.util.Map<java.lang.String,​java.lang.Object> data,
                                              java.util.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