Class DynaFormRow
java.lang.Object
org.primefaces.extensions.model.dynaform.DynaFormRow
- All Implemented Interfaces:
Serializable
Class representing a row inside of
DynaForm
.- Since:
- 0.5
- Version:
- $Revision$
- Author:
- Oleg Varaksin / last modified by $Author$
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThis constructor is required for serialization.DynaFormRow
(int row, boolean extended, DynaFormModel dynaFormModel) -
Method Summary
Modifier and TypeMethodDescriptionaddControl
(Serializable data) Adds control with data, default type, colspan = 1 and rowspan = 1.addControl
(Serializable data, int colspan, int rowspan) Adds control with given data, default type, colspan and rowspan.addControl
(Serializable data, String type) Adds control with given data, type, colspan = 1 and rowspan = 1.addControl
(Serializable data, String type, int colspan, int rowspan) Adds control with given data, type, colspan and rowspan.Adds a label with given text, colspan = 1 and rowspan = 1.Adds a label with given text, escape flag, colspan and rowspan.Adds a label with given text, colspan and rowspan.addModel
(DynaFormModel model) Adds nested model with colspan = 1 and rowspan = 1.addModel
(DynaFormModel model, int colspan, int rowspan) Adds nested model with given colspan and rowspan.int
-
Constructor Details
-
DynaFormRow
public DynaFormRow()This constructor is required for serialization. Please do not remove. -
DynaFormRow
-
-
Method Details
-
addControl
Adds control with data, default type, colspan = 1 and rowspan = 1.- Parameters:
data
- data object- Returns:
- DynaFormControl added control
-
addControl
Adds control with given data, type, colspan = 1 and rowspan = 1.- Parameters:
data
- data objecttype
- type to match the type attribute in pe:dynaFormControl- Returns:
- DynaFormControl added control
-
addControl
Adds control with given data, default type, colspan and rowspan.- Parameters:
data
- data objectcolspan
- colspanrowspan
- rowspan- Returns:
- DynaFormControl added control
-
addControl
Adds control with given data, type, colspan and rowspan.- Parameters:
data
- data objecttype
- type to match the type attribute in pe:dynaFormControlcolspan
- colspanrowspan
- rowspan- Returns:
- DynaFormControl added control
-
addModel
Adds nested model with colspan = 1 and rowspan = 1.- Parameters:
model
- the DynaFormModel- Returns:
- DynaFormModelElement added model
-
addModel
Adds nested model with given colspan and rowspan.- Parameters:
model
-colspan
-rowspan
-- Returns:
- DynaFormModelElement added model
-
addLabel
Adds a label with given text, colspan = 1 and rowspan = 1.- Parameters:
value
- label text- Returns:
- DynaFormLabel added label
-
addLabel
Adds a label with given text, colspan and rowspan.- Parameters:
value
- label textcolspan
- colspanrowspan
- rowspan- Returns:
- DynaFormLabel added label
-
addLabel
Adds a label with given text, escape flag, colspan and rowspan.- Parameters:
value
- label textescape
- boolean flag if the label text should escaped or notcolspan
- colspanrowspan
- rowspan- Returns:
- DynaFormLabel added label
-
getElements
-
getTotalColspan
public int getTotalColspan()
-