|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.forms.extras.FormLayoutUtils.ConstraintIterator
public static final class FormLayoutUtils.ConstraintIterator
Iterates over a FormLayout container's 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 Summary | |
---|---|
FormLayoutUtils.ConstraintIterator(java.awt.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormLayoutUtils.ConstraintIterator(java.awt.Container container)
CellConstraints
.
container
- the layout container
java.lang.IllegalArgumentException
- if the container's layout is
not a FormLayout
Method Detail |
---|
public boolean hasNext()
public CellConstraints nextConstraints()
java.util.NoSuchElementException
- iteration has no more elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |