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.FormLayout
,
CellConstraints
Constructor and Description |
---|
FormLayoutUtils.ConstraintIterator(Container container)
Constructs a ConstraintIterator for the given FormLayout container.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
CellConstraints |
nextConstraints()
Returns the next element in the iteration.
|
public FormLayoutUtils.ConstraintIterator(Container container)
CellConstraints
.container
- the layout containerIllegalArgumentException
- if the container's layout is
not a FormLayout
public boolean hasNext()
public CellConstraints nextConstraints()
NoSuchElementException
- iteration has no more elements.Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.