org.universAAL.ui.handler.gui.swing.model.FormControl.support
Class RepeatSubdivider

Package class diagram package RepeatSubdivider
java.lang.Object
  extended by org.universAAL.ui.handler.gui.swing.model.FormControl.support.RepeatSubdivider

public class RepeatSubdivider
extends Object

This support class is used to generate a list of virtual forms (one per row) so each element of the repeat (FormControl) can be Modeled as the rest of FormControl.

Author:
amedrano

Constructor Summary
RepeatSubdivider(Repeat repeat)
          Constructor
 
Method Summary
 List generateSubForms()
          Generates a List of (virtual) Forms which each contains in its IOControls group the corresponding row of FormControl.
 FormControl[] getElems()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatSubdivider

public RepeatSubdivider(Repeat repeat)
Constructor

Method Detail

getElems

public FormControl[] getElems()

generateSubForms

public List generateSubForms()
Generates a List of (virtual) Forms which each contains in its IOControls group the corresponding row of FormControl. This works because the dataRoot of each form is the corresponding for the row, so each FormControl can be modeled as usual.

Returns:


Copyright © 2014 universAAL Consortium. All Rights Reserved.