Uses of Interface
java.awt.LayoutManager
-
Packages that use LayoutManager Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated. -
-
Uses of LayoutManager in java.awt
Subinterfaces of LayoutManager in java.awt Modifier and Type Interface Description interfaceLayoutManager2Defines an interface for classes that know how to layout Containers based on a layout constraints object.Classes in java.awt that implement LayoutManager Modifier and Type Class Description classBorderLayoutA border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.classCardLayoutACardLayoutobject is a layout manager for a container.classFlowLayoutA flow layout arranges components in a directional flow, much like lines of text in a paragraph.classGridBagLayoutTheGridBagLayoutclass is a flexible layout manager that aligns components vertically, horizontally or along their baseline without requiring that the components be of the same size.classGridLayoutTheGridLayoutclass is a layout manager that lays out a container's components in a rectangular grid.Methods in java.awt that return LayoutManager Modifier and Type Method Description LayoutManagerContainer. getLayout()Gets the layout manager for this container.Methods in java.awt with parameters of type LayoutManager Modifier and Type Method Description voidContainer. setLayout(LayoutManager mgr)Sets the layout manager for this container.voidScrollPane. setLayout(LayoutManager mgr)Sets the layout manager for this container.Constructors in java.awt with parameters of type LayoutManager Constructor Description Panel(LayoutManager layout)Creates a new panel with the specified layout manager. -
Uses of LayoutManager in javax.swing
Classes in javax.swing that implement LayoutManager Modifier and Type Class Description classBoxLayoutA layout manager that allows multiple components to be laid out either vertically or horizontally.classGroupLayoutGroupLayoutis aLayoutManagerthat hierarchically groups components in order to position them in aContainer.protected classJRootPane.RootLayoutA custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.static classJSpinner.DateEditorAn editor for aJSpinnerwhose model is aSpinnerDateModel.static classJSpinner.DefaultEditorA simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField.static classJSpinner.ListEditorAn editor for aJSpinnerwhose model is aSpinnerListModel.static classJSpinner.NumberEditorAn editor for aJSpinnerwhose model is aSpinnerNumberModel.classOverlayLayoutA layout manager to arrange components over the top of each other.classScrollPaneLayoutThe layout manager used byJScrollPane.static classScrollPaneLayout.UIResourceThe UI resource version ofScrollPaneLayout.classSpringLayoutASpringLayoutlays out the children of its associated container according to a set of constraints.classViewportLayoutThe default layout manager forJViewport.Methods in javax.swing that return LayoutManager Modifier and Type Method Description protected LayoutManagerJViewport. createLayoutManager()Subclassers can override this to install a different layout manager (ornull) in the constructor.protected LayoutManagerJRootPane. createRootLayout()Called by the constructor methods to create the defaultlayoutManager.Methods in javax.swing with parameters of type LayoutManager Modifier and Type Method Description voidAbstractButton. setLayout(LayoutManager mgr)Sets the layout manager for this container, refer toContainer.setLayout(LayoutManager)for a complete description of this method.voidBox. setLayout(LayoutManager l)Throws an AWTError, since a Box can use only a BoxLayout.voidJApplet. setLayout(LayoutManager manager)Deprecated.Sets theLayoutManager.voidJDialog. setLayout(LayoutManager manager)Sets theLayoutManager.voidJFrame. setLayout(LayoutManager manager)Sets theLayoutManager.voidJInternalFrame. setLayout(LayoutManager manager)Ensures that, by default, the layout of this component cannot be set.voidJLayer. setLayout(LayoutManager mgr)Sets the layout manager for this container.voidJScrollPane. setLayout(LayoutManager layout)Sets the layout manager for thisJScrollPane.voidJWindow. setLayout(LayoutManager manager)Sets theLayoutManager.Constructors in javax.swing with parameters of type LayoutManager Constructor Description JPanel(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
Classes in javax.swing.plaf.basic that implement LayoutManager Modifier and Type Class Description classBasicComboBoxUI.ComboBoxLayoutManagerThis layout manager handles the 'standard' layout of combo boxes.classBasicInternalFrameTitlePane.TitlePaneLayoutThis class should be treated as a "protected" inner class.classBasicInternalFrameUI.InternalFrameLayoutInternal frame layout.static classBasicOptionPaneUI.ButtonAreaLayoutButtonAreaLayoutbehaves in a similar manner toFlowLayout.classBasicScrollBarUIImplementation of ScrollBarUI for the Basic Look and Feelprotected classBasicSplitPaneDivider.DividerLayoutUsed to layout aBasicSplitPaneDivider.classBasicSplitPaneUI.BasicHorizontalLayoutManagerLayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.classBasicSplitPaneUI.BasicVerticalLayoutManagerLayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.classBasicTabbedPaneUI.TabbedPaneLayoutThis class should be treated as a "protected" inner class.classDefaultMenuLayoutThe default layout manager for Popup menus and menubars.Fields in javax.swing.plaf.basic declared as LayoutManager Modifier and Type Field Description protected LayoutManagerBasicInternalFrameUI. internalFrameLayoutInternal frame layoutMethods in javax.swing.plaf.basic that return LayoutManager Modifier and Type Method Description protected LayoutManagerBasicInternalFrameTitlePane. createLayout()Returns a layout manager.protected LayoutManagerBasicSpinnerUI. createLayout()Creates aLayoutManagerthat manages theeditor,nextButton, andpreviousButtonchildren of the JSpinner.protected LayoutManagerBasicComboBoxUI. createLayoutManager()Creates a layout manager for managing the components which make up the combo box.protected LayoutManagerBasicInternalFrameUI. createLayoutManager()Creates the layout manager.protected LayoutManagerBasicOptionPaneUI. createLayoutManager()Returns a layout manager.protected LayoutManagerBasicTabbedPaneUI. createLayoutManager()Invoked byinstallUIto create a layout manager object to manage theJTabbedPane. -
Uses of LayoutManager in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement LayoutManager Modifier and Type Class Description classMetalComboBoxUI.MetalComboBoxLayoutManagerThis class should be treated as a "protected" inner class.classMetalScrollBarUIImplementation of ScrollBarUI for the Metal Look and FeelclassMetalTabbedPaneUI.TabbedPaneLayoutThis class should be treated as a "protected" inner class. -
Uses of LayoutManager in javax.swing.plaf.synth
Classes in javax.swing.plaf.synth that implement LayoutManager Modifier and Type Class Description classSynthScrollBarUIProvides the Synth L&F UI delegate forJScrollBar.Methods in javax.swing.plaf.synth that return LayoutManager Modifier and Type Method Description protected LayoutManagerSynthToolBarUI. createLayout()Creates aLayoutManagerto use with the toolbar.protected LayoutManagerSynthTabbedPaneUI. createLayoutManager()Invoked byinstallUIto create a layout manager object to manage theJTabbedPane.
-