charva.awt
Class GridBagLayout
- LayoutManager, LayoutManager2
public class GridBagLayout
extends java.lang.Object
This is an approximation of the AWT GridBagLayout layout manager.
See the documentation of the AWT GridBagLayout for details.
double[] | columnWeights - This field is not used in the CHARVA package but is present to allow
compile-time compatibility with AWT.
|
int[] | columnWidths - This field holds the overrides to the column minimum widths.
|
int[] | rowHeights - This field holds the overrides to the row minimum heights.
|
double[] | rowWeights - This field is not used in the CHARVA package but is present to allow
compile-time compatibility with AWT.
|
columnWeights
public double[] columnWeights
This field is not used in the CHARVA package but is present to allow
compile-time compatibility with AWT.
columnWidths
public int[] columnWidths
This field holds the overrides to the column minimum widths.
rowHeights
public int[] rowHeights
This field holds the overrides to the row minimum heights.
rowWeights
public double[] rowWeights
This field is not used in the CHARVA package but is present to allow
compile-time compatibility with AWT.
GridBagLayout
public GridBagLayout()
invalidateLayout
public void invalidateLayout(Container target_)
Invalidates the layout, indicating that if the layout manager has cached
information it should be discarded.
- invalidateLayout in interface LayoutManager2
minimumSize
public Dimension minimumSize(Container container_)
Calculate the geometry for the specified list of Components,
and return the size of the rectangle that encloses all the
Components.
- minimumSize in interface LayoutManager