Uses of Interface
java.awt.LayoutManager2
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
-
Uses of LayoutManager2 in java.awt
Modifier and TypeClassDescriptionclass
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.class
ACardLayout
object is a layout manager for a container.class
TheGridBagLayout
class is a flexible layout manager that aligns components vertically, horizontally or along their baseline without requiring that the components be of the same size. -
Uses of LayoutManager2 in javax.swing
Modifier and TypeClassDescriptionclass
A layout manager that allows multiple components to be laid out either vertically or horizontally.class
GroupLayout
is aLayoutManager
that hierarchically groups components in order to position them in aContainer
.protected class
A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.class
A layout manager to arrange components over the top of each other.class
ASpringLayout
lays out the children of its associated container according to a set of constraints. -
Uses of LayoutManager2 in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.class
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.class
The default layout manager for Popup menus and menubars.