Generated by
JDiff

Class java.awt.GridBagLayout

Documentation changed from old to new.

Added Methods
void adjustForGravity(GridBagConstraints, Rectangle) Adjusts the x y width and height fields to the correct values depending on the constraint geometry and pads.
void arrangeGrid(Container) Lay out the grid
GridBagLayoutInfo getLayoutInfo(Container, int) Fill in an instance of the above structure for the current set of managed children.
Dimension getMinSize(Container, GridBagLayoutInfo) Figure out the minimum size of the master based on the information from getLayoutInfo()
 

Changed Methods
void AdjustForGravity(GridBagConstraints, Rectangle) Documentation changed from old to new.
This method is supplied for backwards compatability only; new code should call adjustForGravity() instead.
void ArrangeGrid(Container) Documentation changed from old to new.
This method is supplied for backwards compatability only; new code should call arrangeGrid() instead.
GridBagLayoutInfo GetLayoutInfo(Container, int) Documentation changed from old to new.
This method is supplied for backwards compatability only; new code should call getLayoutInfo() instead.
Dimension GetMinSize(Container, GridBagLayoutInfo) Documentation changed from old to new.
This method is supplied for backwards compatability only; new code should call getMinSize() instead.
GridBagConstraints getConstraints(Component) Documentation changed from old to new.
Gets the constraints for the specified component.
int[][] getLayoutDimensions() Documentation changed from old to new.
Determines column widths and row heights for the layout grid.
Point getLayoutOrigin() Documentation changed from old to new.
Determines the origin of the layout area in the graphics coordinate space of the target container.
double[][] getLayoutWeights() Documentation changed from old to new.
Determines the weights of the layout grid's columns and rows.
Point location(int, int) Documentation changed from old to new.
Determines which cell in the layout grid contains the point specified by (x  y).
GridBagConstraints lookupConstraints(Component) Documentation changed from old to new.
Retrieves the constraints for the specified component.
void setConstraints(Component, GridBagConstraints) Documentation changed from old to new.
Sets the constraints for the specified component in this layout.
void addLayoutComponent(Component, Object) Documentation changed from old to new.
Adds the specified component to the layout using the specified constraints object.
void addLayoutComponent(String, Component) Documentation changed from old to new.
Adds the specified component with the specified name to the layout.
 

Changed Fields
int PREFERREDSIZE Documentation changed from old to new.
The preferred grid size that can be laid out by the grid bag layout.
double[] columnWeights Documentation changed from old to new.
This field holds the overrides to the column weights.
int[] columnWidths Documentation changed from old to new.
This field holds the overrides to the column minimum width.
Hashtable comptable Documentation changed from old to new.
This hashtable maintains the association between a component and its gridbag constraints.
GridBagLayoutInfo layoutInfo Documentation changed from old to new.
This field holds the layout information for the gridbag.
int[] rowHeights Documentation changed from old to new.
This field holds the overrides to the row minimum heights.
double[] rowWeights Documentation changed from old to new.
This field holds the overrides to the row weights.