Babylon 10
The world's best online dictionary

Download it's free

Definition of Borderlayout

Borderlayout Definition from Computer & Internet Dictionaries & Glossaries
- class java.awt..BorderLayout 
public class BorderLayout extends Object implements LayoutManager2 , Serializable 
Tree:java.lang.Object - java.awt.BorderLayout
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region is identified by a corresponding constant: NORTH, SOUTH, EAST, WEST, and CENTER. When adding a component to a container with a border layout, use one of these five constants, for example:
- Constructor for class java.awt.BorderLayout 
public BorderLayout ()
Constructs a new border layout with no gaps between components.
- Constructor for class java.awt.BorderLayout 
public BorderLayout (int hgap, int vgap)
Constructs a border layout with the specified gaps between components. The horizontal gap is specified by hgap and the vertical gap is specified by vgap.Parameters: hgap - the horizontal gap. - the vertical gap.vgap - the vertical gap.
Noman's Java(TM) Glossary
Lays out up to five components in a container in locations specified by the following directions: north, south, west, east and center. This is the default layout manager for Window and its subclasses (Frame and Dialog).
Borderlayout Definition from Encyclopedia Dictionaries & Glossaries
Wikipedia English - The Free Encyclopedia
Layout managers are software components used in widget toolkits which have the ability to lay out widgets by their relative positions without using distance units. It is often more natural to define component layouts in this manner than to define their position in pixels or common distance units, so a number of popular widget toolkits include this ability by default. Widget toolkits that provide this function can generally be classified into two groups:
  • Those where the layout behavior is coded in special graphic containers. This is the case in XUL and the .NET Framework widget toolkit (both in Windows Forms and in XAML).
  • Those where the layout behavior is coded in layout managers, that can be applied to any graphic container. This is the case in the Swing widget toolkit that is part of the Java API.

See more at
© This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License and under the Creative Commons Attribution-ShareAlike License