|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.forms.extras.FormLayoutUtils
public final class FormLayoutUtils
Consists only of static methods that provide convenience behavio
for working with the FormLayout.
Note: This class is not part of the binary Form library It comes with the Forms distributions as an extra The API is work in progress and may change without notice this class may even be completely removed from future distributions.
| Nested Class Summary | |
|---|---|
static class |
FormLayoutUtils.ConstraintIterator
Iterates over a FormLayout container's CellConstraints. |
| Method Summary | |
|---|---|
static boolean |
columnContainsComponent(Container container,
int columnIndex)
Checks and answers whether the given FormLayout containe contains a component in the specified column. |
static boolean |
isGroupedColumn(FormLayout layout,
int columnIndex)
Checks and answers whether the specified column is groupe in the given FormLayout. |
static boolean |
isGroupedRow(FormLayout layout,
int rowIndex)
Checks and answers whether the specified row is groupe in the given FormLayout. |
static boolean |
rowContainsComponent(Container container,
int rowIndex)
Checks and answers whether the given FormLayout containe contains a component in the specified row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean columnContainsComponent(Container container,
int columnIndex)
CellConstraints object from the layout an compare its horizontal grid origin with the specified column index.
container - the layout containercolumnIndex - the index of the column to test
IllegalArgumentException - if the container's layout i
not a FormLayout
public static boolean rowContainsComponent(Container container,
int rowIndex)
CellConstraints object from the layout an compare its vertical grid origin with the specified row index.
container - the layout containerrowIndex - the index of the row to test
IllegalArgumentException - if the container's layout i
not a FormLayout
public static boolean isGroupedColumn(FormLayout layout,
int columnIndex)
col is grouped
if and only if there's a column group groupcol's index.
layout - the layout to be inspectedcolumnIndex - the index of the column to be checked
public static boolean isGroupedRow(FormLayout layout,
int rowIndex)
row is grouped
if and only if there's a row group grouprow's index.
layout - the layout to be inspectedrowIndex - the index of the row to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||