|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproyecto.utilidades.OperacionesVentanas
public class OperacionesVentanas
OperacionesVentanas.
Clase con métodos estaticos para operaciones básicas con ventanas, por ejemplo:
Constructor Summary | |
---|---|
OperacionesVentanas()
|
Method Summary | |
---|---|
static void |
centraVentana(Window ventana)
Centra ventana. |
static void |
centraVentanaHija(Window ventana)
Centra una ventana con respecto a su ventana padre. |
static void |
posicionVentana(Window iContenedor,
Dimension iDimension)
Asigna el tamaño y centra la ventana. |
static void |
posicionVentanaH(Window iContenedor,
int aiAncho,
int aiAlto,
int aiY)
Centra la ventana en horizontal, pero la posicion vertical hay que proporcionarla. |
static void |
posicionVentanaHija(Window iContenedor,
Dimension iDimension)
Posicion ventana hija. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperacionesVentanas()
Method Detail |
---|
public static void centraVentana(Window ventana)
ventana
- the ventanapublic static void centraVentanaHija(Window ventana)
ventana
- the ventanapublic static void posicionVentana(Window iContenedor, Dimension iDimension)
iContenedor
- the i contenedoriDimension
- the i dimensionpublic static void posicionVentanaHija(Window iContenedor, Dimension iDimension)
iContenedor
- the i contenedoriDimension
- the i dimensionpublic static void posicionVentanaH(Window iContenedor, int aiAncho, int aiAlto, int aiY)
iContenedor
- the i contenedoraiAncho
- the ai anchoaiAlto
- the ai altoaiY
- the ai y
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |