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
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new control that marks the beginning of a group of controls. -
Method Summary
Modifier and TypeMethodDescriptionGets the header of the group.booleanGets whether the group is required.voidSets the header of the group.voidsetRequired(boolean required) Sets whether the group is required.
-
Constructor Details
-
GroupStartControl
public GroupStartControl()Creates a new control that marks the beginning of a group of controls.
-
-
Method Details
-
getHeader
Gets the header of the group. The header is displayed above the group box.- Returns:
- The header of the group.
-
setHeader
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.
-