|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttests.UIHelper
| Constructor Summary | |
UIHelper()
|
|
| Method Summary | |
static void |
centerWindow(java.awt.Window window)
|
static void |
setMaxPreferredSize(javax.swing.JComponent[] comps)
Función auxiliar para cambiar el tamaño preferido al máximo de un conjunto de componentes. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIHelper()
| Method Detail |
public static void setMaxPreferredSize(javax.swing.JComponent[] comps)
Funciona de la siguiente manera:
getPreferredSize,
setPreferredSize).
Puede ser utilizada para simular que varias etiquetas están en una misma Bix vertical, cuando en realidad, están en distintas Bix horizontales.
comps - Arreglo de componentes a cambiarle el tamaño.public static void centerWindow(java.awt.Window window)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||