Uses of Interface
java.awt.LayoutManager
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.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
-
Uses of LayoutManager in java.awt
Modifier and TypeInterfaceDescriptioninterface
Defines an interface for classes that know how to layoutContainer
s based on a layout constraints object.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
A flow layout arranges components in a directional flow, much like lines of text in a paragraph.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.class
TheGridLayout
class is a layout manager that lays out a container's components in a rectangular grid.Modifier and TypeMethodDescriptionContainer.getLayout()
Gets the layout manager for this container.Modifier and TypeMethodDescriptionvoid
Container.setLayout
(LayoutManager mgr) Sets the layout manager for this container.final void
ScrollPane.setLayout
(LayoutManager mgr) Sets the layout manager for this container.ModifierConstructorDescriptionPanel
(LayoutManager layout) Creates a new panel with the specified layout manager. -
Uses of LayoutManager 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.static class
An editor for aJSpinner
whose model is aSpinnerDateModel
.static class
A simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField
.static class
An editor for aJSpinner
whose model is aSpinnerListModel
.static class
An editor for aJSpinner
whose model is aSpinnerNumberModel
.class
A layout manager to arrange components over the top of each other.class
The layout manager used byJScrollPane
.static class
The UI resource version ofScrollPaneLayout
.class
ASpringLayout
lays out the children of its associated container according to a set of constraints.class
The default layout manager forJViewport
.Modifier and TypeMethodDescriptionprotected LayoutManager
JViewport.createLayoutManager()
Subclassers can override this to install a different layout manager (ornull
) in the constructor.protected LayoutManager
JRootPane.createRootLayout()
Called by the constructor methods to create the defaultlayoutManager
.Modifier and TypeMethodDescriptionvoid
AbstractButton.setLayout
(LayoutManager mgr) Sets the layout manager for this container, refer toContainer.setLayout(LayoutManager)
for a complete description of this method.void
Box.setLayout
(LayoutManager l) Throws an AWTError, since a Box can use only a BoxLayout.void
JApplet.setLayout
(LayoutManager manager) Deprecated, for removal: This API element is subject to removal in a future version.Sets theLayoutManager
.void
JDialog.setLayout
(LayoutManager manager) Sets theLayoutManager
.void
JFrame.setLayout
(LayoutManager manager) Sets theLayoutManager
.void
JInternalFrame.setLayout
(LayoutManager manager) Ensures that, by default, the layout of this component cannot be set.void
JLayer.setLayout
(LayoutManager mgr) Sets the layout manager for this container.void
JScrollPane.setLayout
(LayoutManager layout) Sets the layout manager for thisJScrollPane
.void
JWindow.setLayout
(LayoutManager manager) Sets theLayoutManager
.ModifierConstructorDescriptionJPanel
(LayoutManager layout) Create a new buffered JPanel with the specified layout managerJPanel
(LayoutManager layout, boolean isDoubleBuffered) Creates a new JPanel with the specified layout manager and buffering strategy. -
Uses of LayoutManager in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
This layout manager handles the 'standard' layout of combo boxes.class
This class should be treated as a "protected" inner class.class
Internal frame layout.static class
ButtonAreaLayout
behaves in a similar manner toFlowLayout
.class
Implementation of ScrollBarUI for the Basic Look and Feelprotected class
Used to layout aBasicSplitPaneDivider
.class
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.class
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.class
This class should be treated as a "protected" inner class.class
The default layout manager for Popup menus and menubars.Modifier and TypeFieldDescriptionprotected LayoutManager
BasicInternalFrameUI.internalFrameLayout
Internal frame layoutModifier and TypeMethodDescriptionprotected LayoutManager
BasicInternalFrameTitlePane.createLayout()
Returns a layout manager.protected LayoutManager
BasicSpinnerUI.createLayout()
Creates aLayoutManager
that manages theeditor
,nextButton
, andpreviousButton
children of the JSpinner.protected LayoutManager
BasicComboBoxUI.createLayoutManager()
Creates a layout manager for managing the components which make up the combo box.protected LayoutManager
BasicInternalFrameUI.createLayoutManager()
Creates the layout manager.protected LayoutManager
BasicOptionPaneUI.createLayoutManager()
Returns a layout manager.protected LayoutManager
BasicTabbedPaneUI.createLayoutManager()
Invoked byinstallUI
to create a layout manager object to manage theJTabbedPane
. -
Uses of LayoutManager in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
This class should be treated as a "protected" inner class.class
Implementation of ScrollBarUI for the Metal Look and Feelclass
This class should be treated as a "protected" inner class. -
Uses of LayoutManager in javax.swing.plaf.synth
Modifier and TypeMethodDescriptionprotected LayoutManager
SynthToolBarUI.createLayout()
Creates aLayoutManager
to use with the toolbar.protected LayoutManager
SynthTabbedPaneUI.createLayoutManager()
Invoked byinstallUI
to create a layout manager object to manage theJTabbedPane
.