Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

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. 
 

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)
          Adjusts the x, y, width, and height fields to the correct values depending on the constraint geometry and pads.
protected  void GridBagLayout.AdjustForGravity(GridBagConstraints constraints, Rectangle r)
          This method is obsolete and supplied for backwards compatability only; new code should call adjustForGravity instead.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.