Package net.pricefx.formulaengine.forms
Interface FormRow
- All Superinterfaces:
FormLayoutNode
A row layout node used to arrange inputs horizontally within a form. Created with
layout.createRow(name) (see FormLayout.createRow(String)) and populated with addChild(FormLayoutNode)/addChild(ContextParameter), typically built inputs placed side by side.
Example:
def layout = form.layout()
layout.addChild(
layout.createRow("row1")
.addChild(input1)
.addChild(input2)
)
- Since:
- 17.0 - Paloma
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddChild(FormLayoutNode child) Attacheschildto this row.addChild(ContextParameter child) Attaches a built input directly to this row.
-
Method Details
-
addChild
Attacheschildto this row.- Specified by:
addChildin interfaceFormLayoutNode- Parameters:
child- the layout node to attach- Returns:
- this
FormRow, so that calls can be chained - Since:
- 17.0 - Paloma
-
addChild
Attaches a built input directly to this row.- Specified by:
addChildin interfaceFormLayoutNode- Parameters:
child- the input to attach, typically built with acreate...Entry(...).buildFormInput()call- Returns:
- this
FormRow, so that calls can be chained - Since:
- 17.0 - Paloma
-