Class GroupStartControl
- java.lang.Object
-
- de.xima.fc.gui.model.value_descriptor_form.Control
-
- de.xima.fc.gui.model.value_descriptor_form.GroupStartControl
-
- All Implemented Interfaces:
Serializable
public final class GroupStartControl extends Control
AControlthat 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 Summary
Constructors Constructor Description GroupStartControl()Creates a new control that marks the beginning of a group of controls.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHeader()Gets the header of the group.booleanisRequired()Gets whether the group is required.voidsetHeader(String header)Sets the header of the group.voidsetRequired(boolean required)Sets whether the group is required.
-
-
-
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.
-
-