org.universAAL.ui.handler.gui.swing.model.FormControl.support
Class RepeatSubdivider
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatSubdivider
public RepeatSubdivider(Repeat repeat)
- Constructor
getElems
public FormControl[] getElems()
generateSubForms
public List generateSubForms()
- Generates a
List
of (virtual) Form
s 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.