GridBagLayout.getLayoutWeights

GridBagLayout.getLayoutWeights

Class Overview | Class Members | This Package | All Packages

Syntax
public double[][] getLayoutWeights()
Returns
an array of two arrays, representing the horizontal weights of the layout columns and the vertical weights of the layout rows.
Description
Determines the weights of the layout grid's columns and rows. Weights are used to calculate how much a given column or row stretches beyond its preferred size, if the layout has extra room to fill.

Most applications do not call this method directly.