|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.swing.BoxUtil
public final class BoxUtil
Facilitates the use of Box and BoxLayout.
| Constructor Summary | |
|---|---|
BoxUtil()
|
|
| Method Summary | |
|---|---|
static Box |
center(JComponent component)
Returns a boz in which the given component is centered both horizontally and vertically. |
static Box |
centerHorizontal(JComponent component)
Returns a box in which the given component is centered horizontally. |
static Box |
centerVertical(JComponent component)
Returns a box in which the given component is centered vertically. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxUtil()
| Method Detail |
|---|
public static Box centerHorizontal(JComponent component)
public static Box centerVertical(JComponent component)
public static Box center(JComponent component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||