Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.awt.GridBagConstraints

Packages that use GridBagConstraints
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel.

Uses of GridBagConstraints in java.awt

Fields in java.awt declared as GridBagConstraints
`protected GridBagConstraints` | `GridBagLayout.defaultConstraints` This 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 the `defaultConstraints`.

Methods in java.awt that return GridBagConstraints
`GridBagConstraints` | `GridBagLayout.getConstraints(Component comp)` Gets the constraints for the specified component.
`protected GridBagConstraints` | `GridBagLayout.lookupConstraints(Component comp)` Retrieves the constraints for the specified component.

Methods in java.awt with parameters of type GridBagConstraints
`void` | `GridBagLayout.setConstraints(Component comp, GridBagConstraints constraints)` Sets the constraints for the specified component in this layout.
`protected void` | `GridBagLayout.AdjustForGravity(GridBagConstraints constraints, Rectangle r)`

Uses of GridBagConstraints in javax.swing.plaf.basic

Methods in javax.swing.plaf.basic with parameters of type GridBagConstraints
`protected void` | `BasicOptionPaneUI.addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated)` Creates the appropriate object to represent `msg` and places it into `container`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.