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 SummaryConstructorsConstructorDescriptionThis constructor is required for serialization.DynaFormRow(int row, boolean extended, DynaFormModel dynaFormModel) 
- 
Method SummaryModifier 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- 
DynaFormRowpublic DynaFormRow()This constructor is required for serialization. Please do not remove.
- 
DynaFormRow
 
- 
- 
Method Details- 
addControlAdds control with data, default type, colspan = 1 and rowspan = 1.- Parameters:
- data- data object
- Returns:
- DynaFormControl added control
 
- 
addControlAdds control with given data, type, colspan = 1 and rowspan = 1.- Parameters:
- data- data object
- type- type to match the type attribute in pe:dynaFormControl
- Returns:
- DynaFormControl added control
 
- 
addControlAdds control with given data, default type, colspan and rowspan.- Parameters:
- data- data object
- colspan- colspan
- rowspan- rowspan
- Returns:
- DynaFormControl added control
 
- 
addControlAdds control with given data, type, colspan and rowspan.- Parameters:
- data- data object
- type- type to match the type attribute in pe:dynaFormControl
- colspan- colspan
- rowspan- rowspan
- Returns:
- DynaFormControl added control
 
- 
addModelAdds nested model with colspan = 1 and rowspan = 1.- Parameters:
- model- the DynaFormModel
- Returns:
- DynaFormModelElement added model
 
- 
addModelAdds nested model with given colspan and rowspan.- Parameters:
- model-
- colspan-
- rowspan-
- Returns:
- DynaFormModelElement added model
 
- 
addLabelAdds a label with given text, colspan = 1 and rowspan = 1.- Parameters:
- value- label text
- Returns:
- DynaFormLabel added label
 
- 
addLabelAdds a label with given text, colspan and rowspan.- Parameters:
- value- label text
- colspan- colspan
- rowspan- rowspan
- Returns:
- DynaFormLabel added label
 
- 
addLabelAdds a label with given text, escape flag, colspan and rowspan.- Parameters:
- value- label text
- escape- boolean flag if the label text should escaped or not
- colspan- colspan
- rowspan- rowspan
- Returns:
- DynaFormLabel added label
 
- 
getElements
- 
getTotalColspanpublic int getTotalColspan()
 
-