use of org.olat.core.gui.components.form.flexible.impl.elements.SpacerElementImpl in project OpenOLAT by OpenOLAT.
the class FormUIFactory method addSpacerElement.
/**
* Inserts an HTML horizontal bar (<HR>) element.
*
* @param name
* @param formLayout
* @return
*/
public SpacerElement addSpacerElement(String name, FormItemContainer formLayout, boolean onlySpaceAndNoLine) {
SpacerElement spacer = new SpacerElementImpl(name);
if (onlySpaceAndNoLine) {
spacer.setSpacerCssClass("o_spacer_noline");
}
formLayout.add(spacer);
return spacer;
}
use of org.olat.core.gui.components.form.flexible.impl.elements.SpacerElementImpl in project openolat by klemens.
the class FormUIFactory method addSpacerElement.
/**
* Inserts an HTML horizontal bar (<HR>) element.
*
* @param name
* @param formLayout
* @return
*/
public SpacerElement addSpacerElement(String name, FormItemContainer formLayout, boolean onlySpaceAndNoLine) {
SpacerElement spacer = new SpacerElementImpl(name);
if (onlySpaceAndNoLine) {
spacer.setSpacerCssClass("o_spacer_noline");
}
formLayout.add(spacer);
return spacer;
}
Aggregations