Class FormSectionImpl

    • Constructor Detail

      • FormSectionImpl

        public FormSectionImpl()
      • FormSectionImpl

        public FormSectionImpl​(java.lang.Object obj)
    • Method Detail

      • getNames

        public java.util.Vector<java.lang.String> getNames()
        Description copied from interface: FormSection
        Return the names of all FormSections or FormItems in the FormSection. Note: Modifying the Vector will modify the list in this FormSection.
        Specified by:
        getNames in interface FormSection
      • setNames

        public void setNames​(java.util.Vector<java.lang.String> names)
        Description copied from interface: FormSection
        Set the names of all FormSections or FormItems in the FormSection
        Specified by:
        setNames in interface FormSection
        Parameters:
        names - The new list of names
      • getTitle

        public java.lang.String getTitle()
        Description copied from interface: FormSection
        Get the title of this FormSection, or null if no title
        Specified by:
        getTitle in interface FormSection
      • setTitle

        public void setTitle​(java.lang.String title)
        Description copied from interface: FormSection
        Set the title of this FormSection. The new title should be a key to be looked up in the translation file
        Specified by:
        setTitle in interface FormSection
        Parameters:
        title - The new title
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: FormSection
        Get the description of this FormSection, or null if no description
        Specified by:
        getDescription in interface FormSection
      • setDescription

        public void setDescription​(java.lang.String description)
        Description copied from interface: FormSection
        Set the description of this FormSection The new description should be a key to be looked up in the translation file
        Specified by:
        setDescription in interface FormSection
        Parameters:
        description - The new description
      • initiallyExpanded

        public boolean initiallyExpanded()
        Description copied from interface: FormSection
        Return true if this section is initially expanded
        Specified by:
        initiallyExpanded in interface FormSection
      • setInitiallyExpanded

        public void setInitiallyExpanded​(boolean value)
        Description copied from interface: FormSection
        Set whether this section is initially expanded
        Specified by:
        setInitiallyExpanded in interface FormSection
        Parameters:
        value - true if the section is initially expanded
      • getFormItem

        public FormItemConfig getFormItem​(java.lang.String name)
        Description copied from interface: FormSection
        Get a FormItem defined by this FormSection, or the enclosing FormConfig. May return null if the name is not defined. This may override or modify a FormItem defined in the FormConfig.
        Specified by:
        getFormItem in interface FormSection
        Parameters:
        name - The name of the FormItem
      • addFormItem

        public void addFormItem​(FormItemConfig item)
        Description copied from interface: FormSection
        Add a FormItem to this FormSection. This may override or modify a FormItem defined in the FormConfig.
        Specified by:
        addFormItem in interface FormSection
        Parameters:
        item - The new FormItem
      • getFormItems

        public java.util.Collection<FormItemConfig> getFormItems()
        Description copied from interface: FormSection
        Returns a Collection of all locally defined FormItemConfigs. For internal use.
        Specified by:
        getFormItems in interface FormSection
      • getClone

        public java.lang.Object getClone()
                                  throws java.lang.Exception
        Return self clone
        Specified by:
        getClone in interface BaseConfiguration
        Overrides:
        getClone in class BaseConfigurationImpl
        Returns:
        a cloned version of this object.
        Throws:
        java.lang.Exception
      • setForm

        public void setForm​(FormConfig form)
        Description copied from interface: FormSection
        Set the FormConfig this FormSection is part of.
        Specified by:
        setForm in interface FormSection
        Parameters:
        form - The FormConfig