Class DynaFormModel

java.lang.Object
org.primefaces.extensions.model.dynaform.DynaFormModel
All Implemented Interfaces:
Serializable

public class DynaFormModel extends Object implements Serializable
Model class for DynaForm component.
Since:
0.5
Version:
$Revision$
Author:
Oleg Varaksin / last modified by $Author$
See Also:
  • Constructor Details

    • DynaFormModel

      public DynaFormModel()
  • Method Details

    • getUuid

      public String getUuid()
    • getRegularRows

      public List<DynaFormRow> getRegularRows()
    • getExtendedRows

      public List<DynaFormRow> getExtendedRows()
    • getControls

      public List<DynaFormControl> getControls()
    • getLabels

      public List<DynaFormLabel> getLabels()
    • createRegularRow

      public DynaFormRow createRegularRow()
      Creates a new regular row.
      Returns:
      DynaFormRow
    • createExtendedRow

      public DynaFormRow createExtendedRow()
      Creates a new extended row.
      Returns:
      DynaFormRow
    • removeRegularRow

      public void removeRegularRow(DynaFormRow rowToBeRemoved)
      Removes the passed regular row.
      Parameters:
      rowToBeRemoved - DynaFormRow to be removed
    • removeRegularRow

      public void removeRegularRow(int idx)
      Removes the regular row by its index (position in the list).
      Parameters:
      idx - index of the row to be removed
    • removeExtendedRow

      public void removeExtendedRow(DynaFormRow rowToBeRemoved)
      Removes the passed extended row.
      Parameters:
      rowToBeRemoved - DynaFormRow to be removed
    • removeExtendedRow

      public void removeExtendedRow(int idx)
      Removes the extended row by its index (position in the list).
      Parameters:
      idx - index of the row to be removed
    • isExistExtendedGrid

      public boolean isExistExtendedGrid()