Class GroupStartControl

  • All Implemented Interfaces:
    Serializable

    public final class GroupStartControl
    extends Control
    A Control that marks the beginning of a group of controls, a visual box around a set of controls. Used e.g. for list and map values.
    Since:
    8.5.0
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupStartControl

        public GroupStartControl()
        Creates a new control that marks the beginning of a group of controls.
    • Method Detail

      • getHeader

        public String getHeader()
        Gets the header of the group. The header is displayed above the group box.
        Returns:
        The header of the group.
      • setHeader

        public void setHeader​(String header)
        Sets the header of the group. The header is displayed above the group box.
        Parameters:
        header - The header of the group.
      • isRequired

        public boolean isRequired()
        Gets whether the group is required. A required group is indicated visually, e.g. by a red border or by an asterisk. If required, a value for the container (e.g. list, map, etc.) must be provided.
        Returns:
        true if the group is required, false otherwise.
      • setRequired

        public void setRequired​(boolean required)
        Sets whether the group is required. A required group is indicated visually, e.g. by a red border or by an asterisk. If required, a value for the container (e.g. list, map, etc.) must be provided.
        Parameters:
        required - true if the group is required, false otherwise.