Interface FormSection

    • Method Detail

      • getNames

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

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

        java.lang.String getTitle()
        Get the title of this FormSection, or null if no title
      • setTitle

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

        java.lang.String getDescription()
        Get the description of this FormSection, or null if no description
      • setDescription

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

        boolean initiallyExpanded()
        Return true if this section is initially expanded
      • setInitiallyExpanded

        void setInitiallyExpanded​(boolean value)
        Set whether this section is initially expanded
        Parameters:
        value - true if the section is initially expanded
      • getFormItem

        FormItemConfig getFormItem​(java.lang.String name)
        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.
        Parameters:
        name - The name of the FormItem
      • addFormItem

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

        java.util.Collection<FormItemConfig> getFormItems()
        Returns a Collection of all locally defined FormItemConfigs. For internal use.
      • setForm

        void setForm​(FormConfig form)
        Set the FormConfig this FormSection is part of.
        Parameters:
        form - The FormConfig