Java:BorderLayout
De W3API
Contenido |
[editar] Descripcion
BorderLayout define un contenedor. Organiza y define el tamaño de los componentes atendiendo a cinco regiones: NORT, SOUTH, EAST, WEST y CENTER. Cada region no puede contener más de un componente.
[editar] Sintaxis
public class BorderLayout extends Object implements LayoutManager2, Serializable
[editar] Ejemplo
[editar] Campos
- AFTER_LAST_LINE
- AFTER_LINE_ENDS
- BEFORE_FIRST_LINE
- BEFORE_LINE_BEGINS
- CENTER
- EAST
- LINE_END
- LINE_START
- NORTH
- PAGE_END
- PAGE_START
- SOUTH
- WEST
[editar] Constuctores
[editar] Metodos
- addLayoutComponent()
- getHgap()
- getLayoutAlignmentX()
- getLayoutAlignmentY()
- getVgap()
- invalidateLayout()
- layoutContainer()
- maximumLayoutSize()
- minimumLayoutSize()
- preferredLayoutSize()
- removeLayoutComponent()
- setHgap()
- setVgap()
- toString()