Uses of Class
java.awt.GridBagConstraints
Packages that use GridBagConstraints
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides user interface objects built according to the Basic look and feel.
-
Uses of GridBagConstraints in java.awt
Fields in java.awt declared as GridBagConstraintsModifier and TypeFieldDescriptionprotected GridBagConstraintsGridBagLayout.defaultConstraintsThis field holds a gridbag constraints instance containing the default values, so if a component does not have gridbag constraints associated with it, then the component will be assigned a copy of thedefaultConstraints.Fields in java.awt with type parameters of type GridBagConstraintsModifier and TypeFieldDescriptionprotected Hashtable<Component, GridBagConstraints> GridBagLayout.comptableThis hashtable maintains the association between a component and its gridbag constraints.Methods in java.awt that return GridBagConstraintsModifier and TypeMethodDescriptionGridBagLayout.getConstraints(Component comp) Gets the constraints for the specified component.protected GridBagConstraintsGridBagLayout.lookupConstraints(Component comp) Retrieves the constraints for the specified component.Methods in java.awt with parameters of type GridBagConstraintsModifier and TypeMethodDescriptionprotected voidGridBagLayout.adjustForGravity(GridBagConstraints constraints, Rectangle r) Adjusts the x, y, width, and height fields to the correct values depending on the constraint geometry and pads.protected voidGridBagLayout.AdjustForGravity(GridBagConstraints constraints, Rectangle r) Adjusts the x, y, width, and height fields to the correct values depending on the constraint geometry and pads.voidGridBagLayout.setConstraints(Component comp, GridBagConstraints constraints) Sets the constraints for the specified component in this layout. -
Uses of GridBagConstraints in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type GridBagConstraintsModifier and TypeMethodDescriptionprotected voidBasicOptionPaneUI.addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) Creates the appropriate object to representmsgand places it intocontainer.