com.jgoodies.forms.extras
public static final class FormLayoutUtils.ConstraintIterator extends Object
CellConstraints
.
The container's child component collection and the layout's
constraints collection must not be changed during the iteration;
otherwise the behavior of this iterator is unspecified and unsafe.
See Also: FormLayout CellConstraints
Constructor Summary | |
---|---|
ConstraintIterator(Container container)
Constructs a ConstraintIterator for the given FormLayout container.
|
Method Summary | |
---|---|
boolean | hasNext()
Returns true if the iteration has more elements. |
CellConstraints | nextConstraints()
Returns the next element in the iteration.
|
CellConstraints
.
Parameters: container the layout container
Throws: IllegalArgumentException if the container's layout is
not a FormLayout
Returns: true if the iterator has more elements.
Returns: the next element in the iteration.
Throws: NoSuchElementException iteration has no more elements.